Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s |
Fariborz Jahanian | 35c3329 | 2009-01-12 23:27:26 +0000 | [diff] [blame] | 2 | |
3 | typedef struct { | ||||
4 | unsigned f0; | ||||
5 | } s0; | ||||
6 | |||||
7 | @interface A | ||||
8 | - (s0) f0; | ||||
9 | @end | ||||
10 | |||||
11 | @implementation A | ||||
12 | -(s0) f0{} | ||||
13 | - (unsigned) bar { | ||||
14 | return self.f0.f0; | ||||
15 | } | ||||
16 | @end | ||||
17 |