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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.benjamin
/
p12475.C
blob
d3e121e144087e88bc3f4fbbbd6e7e1c90842587
1
// { dg-do assemble }
2
// prms-id: 12475
3
4
#include <limits.h>
5
6
#if LONG_MAX == 2147483647
7
#define TEST 2147483648
8
#elif LONG_MAX == 9223372036854775807
9
#define TEST 9223372036854775808
10
#else
11
#error "Unsupported test -- add new constants."
12
#endif
13
14
enum huh { start =-TEST, next }; // { dg-warning "" }