llvm-for-llvmta/tools/clang/test/CodeGenCXX/invalid.cpp
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

12 lines
163 B
C++

// RUN: not %clang_cc1 -g -emit-llvm %s
// Don't attempt to codegen invalid code that would lead to a crash
// PR16933
struct A;
A *x;
struct A {
B y;
};
A y;