Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.dg
/
other
/
anon3.C
blob: 87116eb8901f7443909e9df37b133085905fbc9c [
file
] [
log
] [
blame
]
// pr c++/15049
// Origin: Matt Austern <austern@apple.com>
// Test that we can declare a global variable whose type is anonymous.
// { dg-do compile }
enum
{
a
=
3
}
x
;
// { dg-warning "anonymous type" }