mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
26 lines
203 B
Plaintext
26 lines
203 B
Plaintext
module foo;
|
|
|
|
struct Foo
|
|
{
|
|
int i;
|
|
Bar *x;
|
|
}
|
|
|
|
struct Bar
|
|
{
|
|
Foo foo;
|
|
Foo* fooPtr;
|
|
}
|
|
|
|
func void test()
|
|
{
|
|
int i = 1;
|
|
int j, k;
|
|
int l, m = 0;
|
|
int o = 0, p = 3;
|
|
short f = -2;
|
|
c_int x = 2;
|
|
return;
|
|
}
|
|
|