repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
error17.C
blob
7803a1e89efdd0f4eb418c3cc9127ab61ce349ab
1
// PR c++/20153
2
3
template <typename T>
4
void
5
foo()
6
{
7
union { struct { }; }; // { dg-error "18:ISO C\\+\\+ prohibits anonymous struct" }
8
// { dg-error "18:anonymous struct not inside" "not inside" { target *-*-* } .-1 }
9
}