summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/implicit-property.m
blob: db1da314b9e65471bb52b468513fcd93d40d8030 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang_cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
// RUNX: %clang_cc1 -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;
}