[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git] / gcc / testsuite / g++.dg / other / anon3.C
blobd33eb413ccfa53d8915faa3da4a36c8a7713e3a1
1 // pr c++/15049
2 // Origin: Matt Austern <austern@apple.com>
3 // Test that we can declare a global variable whose type is anonymous.
5 // { dg-do compile }
7 enum { a = 3 } x; // { dg-warning "unnamed type" "" { target { ! c++11 } } }