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
PR tree-optimization/67955
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
enum1.C
blob
32e52fe0f5e4affa064c54ac225aad79320a918c
1
// { dg-do run }
2
3
#include <cstdlib>
4
5
enum foo
6
{
7
foo1 = 0,
8
foo2 = 0xffffffffffffffffULL,
9
foo3 = 0xf0fffffffffffffeULL
10
};
11
12
int main ()
13
{
14
if (sizeof (enum foo) != sizeof (unsigned long long))
15
std::abort ();
16
}