repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
error17.C
blob
f34234da79f621d00a9708c9e3620fd173f68337
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 *-*-* } 7 }
9
// { dg-warning "no members" "no members" { target *-*-* } 7 }
10
}