class X fun foo() { }