Add support for char enums - #119
This commit is contained in:
parent
2679833d22
commit
f8c433832e
4 changed files with 13 additions and 3 deletions
|
|
@ -73,6 +73,11 @@ enum ENUM5 {
|
|||
enum15 = (1 << (1 & 1))
|
||||
};
|
||||
|
||||
enum ENUM7 {
|
||||
enum17 = '\0',
|
||||
enum18 = 'A'
|
||||
};
|
||||
|
||||
typedef void * VOIDPTR;
|
||||
typedef int * INTPTR;
|
||||
|
||||
|
|
|
|||
|
|
@ -127,6 +127,8 @@ check e4 == enum11
|
|||
check enum13 == 4
|
||||
check enum14 == 9
|
||||
check enum15 == 2
|
||||
check enum17 == '\0'.ENUM7
|
||||
check enum18 == 'A'.ENUM7
|
||||
|
||||
# Issue #58
|
||||
multiline1()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue