package first import util.* fun test() { topLevelFun(topLevelVar) topLevelFun(topLevelVal) val c = C("ff", 1) c.s.invalid val b = B() funWithVararg(1, 2, 3) val i = Invalid() topLevelObject.f() topLevelObject.g() } fun testWhere(list: List) { funWithWhere(1, list) funWithWhere(1, 2) } class Example : C("foo", 0) class Example2 : A(2)