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

16 lines
167 B
C

// See issue #1159
bitstruct Foo : int {
bool a;
}
bitstruct Bar : int {
bool a;
bool b;
}
fn void bitstruct_cast() {
Bar bar;
Foo foo = (Foo)(int)bar;
}