summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc/compile/20011211-1.m
blob: b6920019c423abfb24b4c179d93372e1a2fd5920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
typedef struct objc_class *Class;

typedef struct objc_object {
  Class isa;
} *id;

@interface nsset
+ (id)set;
@end

@interface baz
- (void)set;
@end

nsset *fn ()
{
  nsset *bar;
  bar = [nsset set];
}