bolt/deps/llvm-18.1.8/clang/test/CodeGenCXX/invalid.cpp
2025-02-14 19:21:04 +01:00

11 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;