mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
20 lines
455 B
C
20 lines
455 B
C
bitstruct test : int // #error: Names of bitstructs must start with an uppercase 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 uppercase letter.
|
|
{
|
|
int a : 1..3;
|
|
int b : 5..10;
|
|
uint c : 20..20;
|
|
} |