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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
enum4.C
blob
6dd025c4fa66ab4b5e8203918b42ddd72652e0fd
1
// { dg-do run }
2
// { dg-options "-fshort-enums" }
3
// Origin: Mark Mitchell <mark@codesourcery.com>
4
5
enum E {
6
a = -312
7
};
8
9
E e = a;
10
11
int main () {
12
if ((int) e != -312)
13
return 1;
14
}