class EtaExpandZeroArg { def foo(): () => String = () => "" val f: () => Any = foo // f() would evaluate to instead of "" }