OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/45437
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
overflow1.C
1
#include <limits.h>
2
3
enum E {
4
A = (unsigned char)-1, /* OK */
5
B = (signed char)UCHAR_MAX, /* implementation-defined */
6
C = INT_MAX+1, /* undefined (C)/ill-formed (C++) { dg-message "" } */
7
D = UINT_MAX+1 /* OK */
8
};