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++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
error17.C
blob
30a693f84d123e87c3ea375abc731ef85050477c
1
// PR c++/20153
2
3
template <typename T>
4
void
5
foo()
6
{
7
union { struct { }; }; // { dg-error "prohibits anonymous struct" "anon" }
8
// { dg-error "not inside" "not inside" { target *-*-* } .-1 }
9
}