summaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/pr24393.mm
blob: 269d84d9c2b789a8ad614c3f5209e62cdecd25a0 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
#include <objc/objc.h>

@interface Foo
{
  Class isa;
}
- (void) doSomething:(id object; /* { dg-error "xpected .\\)." } */
- (void) someOtherMethod;
@end