summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/target-options.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/target-options.c')
-rw-r--r--clang/test/PCH/target-options.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/PCH/target-options.c b/clang/test/PCH/target-options.c
new file mode 100644
index 00000000000..2b85efe07ab
--- /dev/null
+++ b/clang/test/PCH/target-options.c
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -triple=x86_64-apple-darwin9 -emit-pch -o %t.pch %S/target-options.h
+// RUN: not %clang_cc1 -triple=x86_64-unknown-freebsd7.0 -include-pch %t.pch %s -emit-llvm -o - > %t.err 2>&1
+// RUN: FileCheck %s < %t.err
+
+// CHECK: for the target
OpenPOWER on IntegriCloud