Init new repository
This commit is contained in:
3
tests/test_namespaced_duplicate_decl/a2/a2.lc
Normal file
3
tests/test_namespaced_duplicate_decl/a2/a2.lc
Normal file
@@ -0,0 +1,3 @@
|
||||
a :: proc(): int {
|
||||
return 0;
|
||||
}
|
||||
6
tests/test_namespaced_duplicate_decl/main/main.lc
Normal file
6
tests/test_namespaced_duplicate_decl/main/main.lc
Normal file
@@ -0,0 +1,6 @@
|
||||
import a2 "a2";
|
||||
a :: proc(): int { return 0; }
|
||||
|
||||
main :: proc(): int {
|
||||
return a2.a() + a();
|
||||
}
|
||||
Reference in New Issue
Block a user