Sign in
gnu
/
gcc
/
418f81eefb6540582e4818225404d4a647ad67eb
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
explicit1.C
blob: 148155e2f69a7470b203df4109f220d1b7e630ef [
file
] [
log
] [
blame
]
// $7.1.2 disallows explicit on anything but declarations of
// constructors ... including friends.
class
foo
{
public
:
foo
();
};
class
bar
{
public
:
friend
explicit
foo
::
foo
();
};
// ERROR - explicit friend