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
/
fehler055.c
1
#include <stdio.h>
2
3
typedef struct sv {
4
}SV ;
5
6
typedef struct hek HEK;
7
struct hek {
8
char hek_key[4];
9
};
10
11
HEK hekimek;
12
13
int main() {
14
(*(SV**) hekimek.hek_key) = (SV*) -2;
15
printf("Result: %d (expected -2)\n", (int) (*(SV**) hekimek.hek_key));
16
return 0;
17
}