Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
enum4.C
blob: 6a20ea9cbf4623c7654ad5fdcb0478bdc98783b1 [
file
] [
log
] [
blame
]
// 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" }
};