Added test for anonymous structs and unions

This commit is contained in:
enurlyx
2014-06-10 22:16:04 +02:00
parent 33eeb66ea2
commit 3648680f28

View File

@@ -0,0 +1,27 @@
struct normal{
int a;
int b;
};
typedef struct outerStruct {
struct normal a_nomal_one;
int a;
struct {
union {
int b;
} a_union_in_the_struct;
int c;
};
union {
int d;
struct {
int e;
} a_struct_in_the_union;
} a_union;
};