Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.benjamin / p12475.C
blobe900c9f7e08f9eb874acc992afa707567744f7b9
1 // { dg-do assemble { target { ! c++11 } } }
2 // prms-id: 12475
4 #include <limits.h>
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
14 enum huh { start =-TEST, next };        // { dg-warning "" }