respect enums and unions
This commit is contained in:
parent
4bc1b260fe
commit
ce080b1034
@ -3,6 +3,26 @@
|
||||
|
||||
typedef int myint;
|
||||
|
||||
typedef enum {
|
||||
ENUMVALUE,
|
||||
ENUMEND,
|
||||
} myenum;
|
||||
|
||||
enum enum2 {
|
||||
ENUMVALUE2,
|
||||
ENUMEND2,
|
||||
};
|
||||
|
||||
typedef union {
|
||||
int i,
|
||||
char c,
|
||||
} myunion;
|
||||
|
||||
union myunion2 {
|
||||
int i,
|
||||
char c,
|
||||
};
|
||||
|
||||
// Global variables
|
||||
int global_var = 10;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user