projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
demonstartes a bug in the tarval module
[libfirm]
/
ir
/
be
/
test
/
fehler109.c
1
int puts(const char *str);
2
3
void p(void)
4
{
5
puts("p");
6
}
7
8
void q(void)
9
{
10
puts("q");
11
}
12
13
void f(int x, long long y) {
14
if (x) {
15
if (y)
16
p();
17
if(!y)
18
q();
19
} else {
20
if (y)
21
q();
22
if(!y)
23
p();
24
}
25
}
26
27
int main(void)
28
{
29
f(40, 4);
30
f(0, 1);
31
f(0, 0);
32
f(41, 0);
33
return 0;
34
}