☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
explicit1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.brendan/explicit1.C
code
plain
raw
1
// { dg-do assemble }
2
// $7.1.2 disallows explicit on anything but declarations of
3
// constructors ... including friends.
4
class foo { public: foo(); };
5
class bar { public: friend explicit foo::foo(); }; // { dg-error "" } explicit friend