blob: 7936956854f9f27cfa3d80fc5f975c8e178d7c7b [file] [log] [blame]
/* { dg-do compile } */
// { dg-additional-options "-Wno-objc-root-class" }
@interface A
+(void)method: (int)parameter {} /* { dg-error "expected" } */
@end
@implementation A
+(void)method: (int)parameter
{
*parameter; /* { dg-error "invalid type argument" } */
}
@end