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