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

View File

@@ -0,0 +1,18 @@
// #failed: resolve
A :: proc() {}
B :: proc() {}
C :: proc() {}
D :: proc() {}
E :: proc() {}
main :: proc(): int {
a := A();
b := +B();
c := C() + D();
e := E() + 10;
return 0;
}
// #error: cannot assign void expression to a variable
// #error: invalid unary operation for type 'void'
// #error: cannot perform binary operation, types don't qualify for it, left: 'void' right: 'void'
// #error: cannot perform binary operation, types don't qualify for it, left: 'void' right: 'UntypedInt'