OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/parse/attr-externally-visible-1.C: Likewise.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
friend4.C
1
// { dg-do compile }
2
3
// PR c++/4100
4
// You can't use friend when defining a class.
5
6
class A {
7
friend class B { }; // { dg-error "friend" }
8
};