Add more reference-binding examples from the C++0x working paper, all of which seem...
[clang.git] / test / CodeGenObjC / implicit-property.m
blobdb1da314b9e65471bb52b468513fcd93d40d8030
1 // RUN: %clang_cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
2 // RUNX: %clang_cc1 -emit-llvm -o %t %s
4 @interface A
5  -(void) setOk:(int)arg;
6  -(int) ok;
8  -(void) setX:(int)arg;
9  -(int) x;
10 @end
12 void f0(A *a) {
13    a.x = 1;   
14    a.ok = a.x;