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