initial commit

This commit is contained in:
Alessandro Mauri 2025-10-25 17:43:06 +02:00
commit 0b3af7375e
39 changed files with 2339 additions and 0 deletions

14
test/test_bitsruct.c3 Normal file
View file

@ -0,0 +1,14 @@
bitstruct Bits : uint {
bool a : 0;
bool b : 1;
bool c : 2;
}
fn int main()
{
Bits a = {false, true, false};
Bits b = {true, true, false};
Bits c = a | b;
return 0;
}