diff options
Diffstat (limited to 'test/PCH/pch-through3c.cpp')
-rw-r--r-- | test/PCH/pch-through3c.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/PCH/pch-through3c.cpp b/test/PCH/pch-through3c.cpp new file mode 100644 index 000000000000..97b98c405987 --- /dev/null +++ b/test/PCH/pch-through3c.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -I %S -emit-pch \ +// RUN: -include Inputs/pch-through3c.h \ +// RUN: -pch-through-header=Inputs/pch-through3c.h -o %t.3c %s + +// RUN: %clang_cc1 -verify -I %S -include-pch %t.3c \ +// RUN: -include Inputs/pch-through3c.h \ +// RUN: -pch-through-header=Inputs/pch-through3c.h \ +// RUN: %S/Inputs/pch-through-use3c.cpp 2>&1 |