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

12 lines
196 B
Plaintext

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