repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
other
/
anon3.C
blob
87116eb8901f7443909e9df37b133085905fbc9c
1
// pr c++/15049
2
// Origin: Matt Austern <austern@apple.com>
3
// Test that we can declare a global variable whose type is anonymous.
4
5
// { dg-do compile }
6
7
enum { a = 3 } x; // { dg-warning "anonymous type" }