URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [enum1.C] - Rev 694
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
#include <cstdlib>
enum foo
{
foo1 = 0,
foo2 = 0xffffffffffffffffULL,
foo3 = 0xf0fffffffffffffeULL
};
int main ()
{
if (sizeof (enum foo) != sizeof (unsigned long long))
std::abort ();
}
Go to most recent revision | Compare with Previous | Blame | View Log