Files
c3c/test/test_suite/import/import_implicit.c3
Christoffer Lerno 09d50ebf6c New import rules.
2022-06-04 01:41:23 +02:00

17 lines
219 B
C

module abc;
struct Foo
{
int a;
int b;
}
fn void test() {}
module dde;
fn void test()
{
abc::test(); // #error: Did you mean the function 'abc::test'
Foo f; // #error: Did you mean the struct 'Foo'
}