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