// xfail-stage0 // xfail-stage1 // xfail-stage2 // error-pattern: is not a mod obj x() { fn hello() { log "hello"; } } fn main() { x.hello(); }