// xfail-stage0 // xfail-stage1 // xfail-stage2 // error-pattern: iterator function fn f() -> int { put 10; } fn main() { }