diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-03-09 22:50:47 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-03-09 22:50:47 +0000 |
commit | b52119637f743680a99710ce5fdb6646da2772af (patch) | |
tree | c3c085838f4d3361c2b4f8a52632cd62ff176e25 /test | |
parent | 2344cbce571b60627653ec3015125737e5f8c68d (diff) |
Notes
Diffstat (limited to 'test')
-rw-r--r-- | test/PCH/empty-def-fwd-struct.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/PCH/empty-def-fwd-struct.h b/test/PCH/empty-def-fwd-struct.h new file mode 100644 index 0000000000000..dda9827ac8f42 --- /dev/null +++ b/test/PCH/empty-def-fwd-struct.h @@ -0,0 +1,12 @@ +// RUN: %clang_cc1 -emit-pch -x c++-header %s -std=c++14 -o %t.pch +// RUN: %clang_cc1 -emit-llvm-only -x c++ /dev/null -std=c++14 -include-pch %t.pch -o %t.o +struct FVector; +struct FVector {}; +struct FBox { + FVector Min; + FBox(int); +}; +namespace { +FBox InvalidBoundingBox(0); +} + |