Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -emit-llvm -o %t |
Devang Patel | 3c40085 | 2007-12-21 19:35:28 +0000 | [diff] [blame] | 2 | typedef struct a b; |
3 | |||||
4 | b* x; | ||||
5 | |||||
6 | struct a { | ||||
7 | b* p; | ||||
8 | }; | ||||
9 | |||||
10 | void f() { | ||||
11 | b* z = x->p; | ||||
12 | } |