URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [enum4.C] - Rev 693
Compare with Previous | Blame | View Log
// PR c++/37389
// { dg-do compile }
// { dg-options "-std=gnu++98" }
enum
{
A = 9223372036854775807ULL * 2 + 1,
B = B0, // { dg-error "was not declared|overflow" }
C = C0 // { dg-error "was not declared" }
};