//this tests if we can recover from a missing "}" (not even the java compiler can do that ;-)
class Error1 {
Type ident;
Type ident;
Type ident() {
}
//Error 1: missing "}"
class Error2 {
Type ident;
Type ident() {
return //Error 2: missing expression
}
}
true