repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr16372-1.C
blob
b797e4ad29dce3566e0362ab503329150d19ee95
1
// PR tree-optimization/16372
2
// { dg-do run }
3
// { dg-options "-O1" }
4
5
extern "C" void abort();
6
7
enum number {ZERO, ONE, TWO, THREE, FOUR, FIVE};
8
9
int main() {
10
number n = FIVE;
11
12
if((n == ONE) || (n == TWO) || (n == THREE)) {
13
abort ();
14
}
15
return 0;
16
}
17