/* { 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 "unknown type name" } */{return0;}-(id)method2:(x)argument/* { dg-error "unknown type name" } */{return0;}@end