HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release coccinelle-0.1.2
[bpt/coccinelle.git]
/
tests
/
error.c
1
// for seeing when errorexit nodes are created
2
3
int
main
() {
4
int
bad
= -
1
;
5
if
(
x
<
100
)
return
-
ENOMEM
;
6
if
(
x
<
100
)
return
bad
;
7
if
(
x
<
100
)
goto
out
;
8
return
0
;
9
out
:
10
return
bad
;
11
}