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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
error17.C
blob
10c8b824ae5ac3e4843ce5c3c8221c7ef6f00277
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
}