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