aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/enum1.C
blob: bf17429524824f5f1ba6072ac27e25dc1ed71795 (plain)
1
2
3
4
5
// PR c++/38021
// { dg-do compile { target c++11 } }

enum : { };	// { dg-error "expected" }
enum : 3 { };	// { dg-error "expected" }