// Tests that class-declarations work as well // as that Object.name exists on Foo. class Foo {} System.print(Foo.name) // expect: Foo