Sign in
gnu
/
gcc
/
75bbfcfa8623f5b211475a54f52ced32201575e7
/
.
/
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