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
[PR c++/84375] Fix ICE after bad friend
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
pr84375.C
blob
24cdcb2c40778bec41cd98a73dd1bce726555112
1
// PR c++/84375 ICE after error
2
3
void foo()
4
{
5
struct A
6
{
7
friend void A(); // { dg-error "local class without prior local" }
8
};
9
}