1/* { dg-do compile } */ 2 3@interface A 4+(void)method: (int)parameter {} /* { dg-error "expected" } */ 5@end 6 7@implementation A 8+(void)method: (int)parameter 9{ 10 *parameter; /* { dg-error "invalid type argument" } */ 11} 12@end 13