URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [enum1.C] - Rev 693
Compare with Previous | Blame | View Log
// PR c++/38021
// { dg-do compile }
// { dg-options "-std=gnu++0x" }
enum : { }; // { dg-error "expected" }
enum : 3 { }; // { dg-error "expected" }