mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
11 lines
183 B
Plaintext
11 lines
183 B
Plaintext
fn void main() {}
|
|
module foo @private;
|
|
|
|
typedef Int = int;
|
|
|
|
module foo::bar @private;
|
|
import foo @public @norecurse;
|
|
|
|
fn Int Int.foo(x) => x + 0xc3;
|
|
|
|
fn Int bar(Int x) => x * x.foo(); |