xref: /llvm-project/clang/test/PCH/empty-def-fwd-struct.h (revision 84df6e99b8835465ae6319f055d14feb9ddcf777)
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);
11 }
12 
13