1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o %t 2*f4a2713aSLionel Sambuc typedef struct a b; 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc b* x; 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc struct a { 7*f4a2713aSLionel Sambuc b* p; 8*f4a2713aSLionel Sambuc }; 9*f4a2713aSLionel Sambuc f()10*f4a2713aSLionel Sambucvoid f() { 11*f4a2713aSLionel Sambuc b* z = x->p; 12*f4a2713aSLionel Sambuc } 13