aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/implicit-property.m
blob: 11d2a5603b8811753719b755aa736291141e4ead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: clang -emit-llvm -triple=i686-apple-darwin8 -o %t %s
// RUNX: clang -emit-llvm -o %t %s

@interface A
 -(void) setOk:(int)arg;
 -(int) ok;

 -(void) setX:(int)arg;
 -(int) x;
@end

void f0(A *a) {
   a.x = 1;   
   a.ok = a.x;
}