class Foo { static construct new() {} // expect error construct static new() {} // expect error }