Init new repository
This commit is contained in:
4
tests/test_import_duplicate_symbol/b/b.lc
Normal file
4
tests/test_import_duplicate_symbol/b/b.lc
Normal file
@@ -0,0 +1,4 @@
|
||||
/*@api*/
|
||||
B :: struct {
|
||||
a: int;
|
||||
}
|
||||
4
tests/test_import_duplicate_symbol/main/a.lc
Normal file
4
tests/test_import_duplicate_symbol/main/a.lc
Normal file
@@ -0,0 +1,4 @@
|
||||
import "b";
|
||||
|
||||
B :: proc() {
|
||||
}
|
||||
5
tests/test_import_duplicate_symbol/test.txt
Normal file
5
tests/test_import_duplicate_symbol/test.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
// #failed: package
|
||||
// #error: there are 2 decls with the same name 'B'
|
||||
|
||||
// I don't know why matching 'B' on empty decl line works here but's that's good
|
||||
// #error: B
|
||||
Reference in New Issue
Block a user