repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
explicit1.C
blob
2be91d4ca2f7c2d3340b0ec07923aacc137cdf4d
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