Initial release
This commit is contained in:
parent
07c1ef501d
commit
e88ac21c19
20
src/test/struct.c
Normal file
20
src/test/struct.c
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
struct {
|
||||||
|
int a;
|
||||||
|
int b;
|
||||||
|
} test1;
|
||||||
|
|
||||||
|
struct test2;
|
||||||
|
|
||||||
|
struct test3
|
||||||
|
{
|
||||||
|
char a;
|
||||||
|
char b;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct test3;
|
||||||
|
|
||||||
|
struct test4
|
||||||
|
{
|
||||||
|
float a;
|
||||||
|
double a;
|
||||||
|
};
|
20
src/test/union.c
Normal file
20
src/test/union.c
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
union {
|
||||||
|
int a;
|
||||||
|
int b;
|
||||||
|
} test1;
|
||||||
|
|
||||||
|
union test2;
|
||||||
|
|
||||||
|
union test3
|
||||||
|
{
|
||||||
|
char a;
|
||||||
|
char b;
|
||||||
|
};
|
||||||
|
|
||||||
|
union test3;
|
||||||
|
|
||||||
|
union test4
|
||||||
|
{
|
||||||
|
float a;
|
||||||
|
double a;
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user