URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [enum2.C] - Rev 709
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/38637
// { dg-do compile }
// { dg-options "-std=c++0x" }
template<int> enum E : int { e }; // { dg-error "declaration|expected" }
Go to most recent revision | Compare with Previous | Blame | View Log