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
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20010106-1.c
blob
9e149c314629b0e0f31b019b2f396bcedf81e9b8
1
/* Copyright 2001 Free Software Foundation
2
Contributed by Alexandre Oliva <aoliva@redhat.com> */
3
4
int
f
(
int
i
) {
5
switch
(
i
)
6
{
7
case
-
2
:
8
return
33
;
9
case
-
1
:
10
return
0
;
11
case
0
:
12
return
7
;
13
case
1
:
14
return
4
;
15
case
2
:
16
return
3
;
17
case
3
:
18
return
15
;
19
case
4
:
20
return
9
;
21
default
:
22
abort
();
23
}
24
}
25
26
int
main
() {
27
if
(
f
(-
1
))
28
abort
();
29
exit
(
0
);
30
}