Files
c3c/test/test_suite/bitstruct/invalid_bitstruct_name_other_ident.c3

20 lines
457 B
C

bitstruct test : int // #error: Names of bitstructs must start with an upper case letter.
{
int a : 1..3;
int b : 5..10;
uint c : 20..20;
}
bitstruct $if : int // #error: 'bitstruct' should be followed by the name of the bitstruct.
{
int a : 1..3;
int b : 5..10;
uint c : 20..20;
}
bitstruct if : int // #error: Names of bitstructs must start with an upper case letter.
{
int a : 1..3;
int b : 5..10;
uint c : 20..20;
}