Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
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