/* { dg-do compile } *//* Test that using an invalid type in a method declaration produces a friendly error without a compiler crash. */@interfaceMyClass@end@implementationMyClass-(x)method/* { dg-error "expected" } */{return0;}-(id)method2:(x)argument/* { dg-error "expected" } */{return0;}@end