mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
18 lines
179 B
C
18 lines
179 B
C
module baz;
|
|
import bar;
|
|
|
|
struct Foo
|
|
{
|
|
int x;
|
|
int y;
|
|
}
|
|
|
|
|
|
|
|
//define bar::blub(Foo, 1) as fooblub;
|
|
|
|
public fn void main()
|
|
{
|
|
Foo f = { 3, 4 };
|
|
//Foo g = fooblub(&f);
|
|
} |