[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / PCH / empty-def-fwd-struct.h
blobdda9827ac8f4215b159c93c7205888ce1268b803
1 // RUN: %clang_cc1 -emit-pch -x c++-header %s -std=c++14 -o %t.pch
2 // RUN: %clang_cc1 -emit-llvm-only -x c++ /dev/null -std=c++14 -include-pch %t.pch -o %t.o
3 struct FVector;
4 struct FVector {};
5 struct FBox {
6 FVector Min;
7 FBox(int);
8 };
9 namespace {
10 FBox InvalidBoundingBox(0);