OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
error17.C
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
}