Sign in
llvm
/
llvm-archive
/
2d92d8f3eda4630e3e80be62081ca797828d58e1
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
explicit1.C
blob: 2be91d4ca2f7c2d3340b0ec07923aacc137cdf4d [
file
] [
log
] [
blame
]
// { dg-do assemble }
// $7.1.2 disallows explicit on anything but declarations of
// constructors ... including friends.
class
foo
{
public
:
foo
();
};
class
bar
{
public
:
friend
explicit
foo
::
foo
();
};
// { dg-error "" } explicit friend