Init new repository
This commit is contained in:
3
tests/test_import_symbol_leak/a/a.lc
Normal file
3
tests/test_import_symbol_leak/a/a.lc
Normal file
@@ -0,0 +1,3 @@
|
||||
/*@api*/
|
||||
A :: proc() {
|
||||
}
|
||||
6
tests/test_import_symbol_leak/b/b.lc
Normal file
6
tests/test_import_symbol_leak/b/b.lc
Normal file
@@ -0,0 +1,6 @@
|
||||
import "a";
|
||||
|
||||
/*@api*/
|
||||
B :: proc() {
|
||||
A();
|
||||
}
|
||||
6
tests/test_import_symbol_leak/main/c.lc
Normal file
6
tests/test_import_symbol_leak/main/c.lc
Normal file
@@ -0,0 +1,6 @@
|
||||
import "b";
|
||||
|
||||
C :: proc() {
|
||||
B();
|
||||
A();
|
||||
}
|
||||
2
tests/test_import_symbol_leak/test.txt
Normal file
2
tests/test_import_symbol_leak/test.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
// #failed: package
|
||||
// #error: undeclared identifier 'A'
|
||||
Reference in New Issue
Block a user