aboutsummaryrefslogtreecommitdiff
path: root/test/PCH/variables.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-13 21:20:57 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-13 21:20:57 +0000
commit8c70006581a9b9e9485570ca727a6c5f7be63521 (patch)
treef8f45010e3c0b032611c2c6a8aa5c4b0d66551bc /test/PCH/variables.c
parentb11fa0d25d86169f0e0a29d5398116c0212bb787 (diff)
PCH support for record decls/types and their fields. Now that we can
handle the definition of __builtin_va_list on x86-64, eliminate the forced -triple in PCH tests to get better coverage. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH/variables.c')
-rw-r--r--test/PCH/variables.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/PCH/variables.c b/test/PCH/variables.c
index ec1657617e..4f42e50481 100644
--- a/test/PCH/variables.c
+++ b/test/PCH/variables.c
@@ -1,9 +1,9 @@
// Test this without pch.
-// RUN: clang-cc -triple=i686-apple-darwin9 -include %S/variables.h -fsyntax-only -verify %s
+// RUN: clang-cc -include %S/variables.h -fsyntax-only -verify %s
// Test with pch.
-// 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
+// RUN: clang-cc -emit-pch -o %t %S/variables.h &&
+// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s
int *ip2 = &x;
float *fp = &ip; // expected-warning{{incompatible pointer types}}