summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/variables.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/variables.c')
-rw-r--r--clang/test/PCH/variables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/PCH/variables.c b/clang/test/PCH/variables.c
index a5283f92ad3..ffb9ec08c0e 100644
--- a/clang/test/PCH/variables.c
+++ b/clang/test/PCH/variables.c
@@ -1,5 +1,5 @@
-// RUN: clang-cc -emit-pch -o %t %S/variables.h &&
-// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s
+// RUN: clang-cc -emit-pch -triple=i686-apple-darwin9 -o %t %S/variables.h &&
+// RUN: clang-cc -triple=i686-apple-darwin9 -include-pch %t -fsyntax-only -verify %s
int *ip2 = &x;
float *fp = &ip; // expected-warning{{incompatible pointer types}}
OpenPOWER on IntegriCloud