URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.benjamin/] [p12475.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble { target c++98 } }
// prms-id: 12475
#include <limits.h>
#if LONG_MAX == 2147483647
#define TEST 2147483648
#elif LONG_MAX == 9223372036854775807
#define TEST 9223372036854775808
#else
#error "Unsupported test -- add new constants."
#endif
enum huh { start =-TEST, next }; // { dg-warning "" }
Go to most recent revision | Compare with Previous | Blame | View Log