HCoop
/
bpt
/
coccinelle.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Release coccinelle-0.2.1-rc1
[bpt/coccinelle.git]
/
tests
/
error.c
Commit
Line
Data
485bce71
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
}