Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / support / regression / qct / 0047-anonexport.c
blob2631df2946f1e53a01f05f5bc5680fbeda4808f5
2 typedef struct {
3 int a;
4 union {
5 int b1;
6 int b2;
7 };
8 struct { union { struct { int c; }; struct {}; }; };
9 struct {};
10 struct {
11 int d;
13 } s;
15 int
16 main()
18 s v;
20 v.a = 1;
21 v.b1 = 2;
22 v.c = 3;
23 v.d = 4;
25 if (v.a != 1)
26 return 1;
27 if (v.b1 != 2 && v.b2 != 2)
28 return 2;
29 if (v.c != 3)
30 return 3;
31 if (v.d != 4)
32 return 4;
34 return 0;