Files
c3c/test/test_suite7/bitstruct/bitstruct_simple.c3
2025-02-23 13:53:04 +01:00

18 lines
254 B
Plaintext

bitstruct Foo : char
{
bool a;
int b; // #error: For bitstructs without bit ranges, the types must all be 'bool'
}
bitstruct Foo2 : char
{
bool a0;
bool a1;
bool a2;
bool a3;
bool a4;
bool a5;
bool a6;
bool a7;
bool a8; // #error: overflow
}