Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
rfg10.C
blob: 8e7d2d1349d6dd28add3465bba55a7a781c1baa8 [
file
] [
log
] [
blame
]
// Bug: g++ doesn't notice the overflow in the enum values.
#include
<limits.h>
enum
COLOR
{
red
,
green
=
ULONG_MAX
,
blue
};
// ERROR - enum overflow