Files
c3c/test/test_suite/methods/method_lookup_extensions_2208.c3

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();