| Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s |
| 2 | // RUNX: %clang_cc1 -emit-llvm -o %t %s | ||||
| Fariborz Jahanian | 9ac5351 | 2008-11-22 22:30:21 +0000 | [diff] [blame] | 3 | |
| 4 | @interface A | ||||
| 5 | -(void) setOk:(int)arg; | ||||
| 6 | -(int) ok; | ||||
| 7 | |||||
| 8 | -(void) setX:(int)arg; | ||||
| 9 | -(int) x; | ||||
| 10 | @end | ||||
| 11 | |||||
| 12 | void f0(A *a) { | ||||
| 13 | a.x = 1; | ||||
| 14 | a.ok = a.x; | ||||
| 15 | } | ||||
| 16 | |||||