summaryrefslogtreecommitdiffstats
path: root/clang/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
commit183671e2d260930a8c43abc177f80f68cab041c0 (patch)
tree1e7ba3d7fad59387ee4d8072d8131c554a04e7e0 /clang/test/PCH/variables.c
parent4184ac847f91dc7a8644ad6c5a3e389923117eb3 (diff)
downloadbcm5719-llvm-183671e2d260930a8c43abc177f80f68cab041c0.tar.gz
bcm5719-llvm-183671e2d260930a8c43abc177f80f68cab041c0.zip
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. llvm-svn: 68988
Diffstat (limited to 'clang/test/PCH/variables.c')
-rw-r--r--clang/test/PCH/variables.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/PCH/variables.c b/clang/test/PCH/variables.c
index ec1657617ea..4f42e504816 100644
--- a/clang/test/PCH/variables.c
+++ b/clang/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}}
OpenPOWER on IntegriCloud