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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
enum4.C
blob
f401613df3a9f595a346930679b8d99049c6bd23
1
// Origin: Mark Mitchell <mark@codesourcery.com>
2
// Special g++ Options: -fshort-enums
3
4
enum E {
5
a = -312
6
};
7
8
E e = a;
9
10
int main () {
11
if ((int) e != -312)
12
return 1;
13
}