Added 2 testcases for the IA32 backend
[libfirm] / ir / be / test / fehler55.c
1 typedef struct sv SV;
2
3 struct sv {
4 };
5
6 typedef struct hek HEK;
7 struct hek {
8         char    hek_key[3];
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 }