repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: Implement __is_nothrow_invocable built-in trait
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
overflow1.C
blob
b67b4e42eddcf8ec90de8c5639f839834a6d0d37
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
};