mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
17 lines
219 B
C
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'
|
|
} |