summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/enum1.C
blob: fb03692fab4a0b43b01c89beb16ddae794025815 (plain)
1
2
3
4
5
6
// PR c++/38021
// { dg-do compile }
// { dg-options "-std=gnu++0x" }

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