Init new repository

This commit is contained in:
Krzosa Karol
2024-04-13 15:29:53 +02:00
commit 5a2e3dcec4
335 changed files with 61571 additions and 0 deletions

11
tests/switch5.txt Normal file
View File

@@ -0,0 +1,11 @@
main :: proc(): int {
value := 4;
switch value {
case 4: { value -= 1; } @fallthrough
case 3: { value -= 1; } @fallthrough
case 2: { value -= 1; } @fallthrough
case 1: { value -= 1; } @fallthrough
default: a := 10; @unused
}
return value;
}