Bitfield support, space after comments
This commit is contained in:
parent
9387de8638
commit
68ab2dbec1
4 changed files with 31 additions and 14 deletions
|
|
@ -88,6 +88,7 @@ typedef struct {
|
|||
enum ENUM field3[TEST_INT];
|
||||
int *field4[TEST_INT];
|
||||
ENUM4 *field5[TEST_INT+TEST_INT];
|
||||
int field6 : 1;
|
||||
} STRUCT4;
|
||||
|
||||
typedef struct struct5 {
|
||||
|
|
|
|||
|
|
@ -78,6 +78,10 @@ when defined(cpp):
|
|||
else:
|
||||
s4.field3[3] = enum1
|
||||
|
||||
s4.field6 = 1
|
||||
s4.field6 += 1
|
||||
check s4.field6 == 0
|
||||
|
||||
s5.tci = test_call_int
|
||||
s5.tcp = test_call_param
|
||||
s5.tcp8 = test_call_param8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue