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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
underlying_type2.C
blob
0e4519876d2fc9544b7c08186547f29e54c62ef4
1
// { dg-do compile }
2
3
enum E1 { };
4
enum E2 { a = -1, b = 1 };
5
enum E3 { c = __LONG_MAX__ };
6
7
__underlying_type(E1) e1 = 0;
8
__underlying_type(E2) e2 = b;
9
__underlying_type(E3) e3 = __LONG_MAX__;