Clang Project

clang_source_code/test/PCH/empty-def-fwd-struct.h
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
3struct FVector;
4struct FVector {};
5struct FBox {
6  FVector Min;
7  FBox(int);
8};
9namespace {
10FBox InvalidBoundingBox(0);
11}
12
13