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,4 @@
/*@api*/
A :: proc(): int {
return 0;
}

View File

@@ -0,0 +1,12 @@
import "a";
/*@api*/
B :: proc(): int {
return A();
}
B_NO_API :: proc() {
}
/*@api*/
BCONST :: 32;

View File

@@ -0,0 +1,10 @@
import b "b";
main :: proc(): int {
result := b.B();
// b.B_NO_API();
b.A();
b;
co := b.BCONST; @unused
return result;
}

View File

@@ -0,0 +1,3 @@
// #failed: package
// #error: undeclared identifier 'A'
// #error: declaration is import