blob: 49f82b978ded390fcfccb2d1693d370960827a35 [file] [log] [blame]
/**
* Various good and bad methods and constructors
*/
class Foo {
static blah() {} //@fail:parse looks like constructor with bad name
static void blah() {} // OK
private Foo() {
}
Foo(String x) {
}
def Foo(int x) {} //@fail:parse cannot use def with constructors
}