struct Foo { static Func(t: T): T { return t; } } struct Program { static main(): int { x: int = 4; y: int = Foo.Func(x); return x; } }