// out: SyntaxError: unexpected "fun" if (true) fun foo() {}