fixed a bunch of warnings
[libfirm] / ir / be / test / fehler55.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 }