projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
call optimize_cf() to delete dead-code that might arise after cond_eval
[libfirm]
/
ir
/
be
/
test
/
fehler086.c
1
int w[] = { 1, 2, 3 };
2
int *x = w;
3
4
int f(long long a)
5
{
6
return x[a];
7
}
8
9
int main(void)
10
{
11
printf("%d (should be 2)\n", f(1));
12
return 0;
13
}