1*f4a2713aSLionel Sambuc // RUN: not %clang_cc1 -g -emit-llvm %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc // Don't attempt to codegen invalid code that would lead to a crash 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambuc // PR16933 6*f4a2713aSLionel Sambuc struct A; 7*f4a2713aSLionel Sambuc A *x; 8*f4a2713aSLionel Sambuc struct A { 9*f4a2713aSLionel Sambuc B y; 10*f4a2713aSLionel Sambuc }; 11*f4a2713aSLionel Sambuc A y; 12