summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/pr23709.m
blob: 7ff9b60523980776cffbdd6c4b54789cbf5d375f (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