projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
jetzt cooler?
[libfirm]
/
ir
/
be
/
test
/
fehler83.c
1
#include <stdio.h>
2
3
/* produces a graph with wrong modes */
4
static char parens[] = "=!<,>";
5
static char *p = & parens[2];
6
7
int f(void)
8
{
9
return (p - parens) % 2 ? 42 : 13;
10
}
11
12
int main(void)
13
{
14
printf("Res: %d (should be 13)\n", f());
15
return 0;
16
}