summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-12-01 18:05:11 +0000
committerDouglas Gregor <dgregor@apple.com>2008-12-01 18:05:11 +0000
commit2dc61144cde8169e998ec531ecc6f4ac49629b2a (patch)
treee692641b6143207db6627cd8834a250b1eb7edd0
parent356513d7d005dc811657bf7413b6bfbed9632a1e (diff)
downloadbcm5719-llvm-2dc61144cde8169e998ec531ecc6f4ac49629b2a.tar.gz
bcm5719-llvm-2dc61144cde8169e998ec531ecc6f4ac49629b2a.zip
Make sure __null test runs in both 32- and 64-bit. Thanks Anders
llvm-svn: 60360
-rw-r--r--clang/test/SemaCXX/__null.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/__null.cpp b/clang/test/SemaCXX/__null.cpp
index cc04ebca497..3d78e2e8db7 100644
--- a/clang/test/SemaCXX/__null.cpp
+++ b/clang/test/SemaCXX/__null.cpp
@@ -1,4 +1,5 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang -triple x86_64-unknown-unknown %s -fsyntax-only -verify &&
+// RUN: clang -triple i686-unknown-unknown %s -fsyntax-only -verify
void f() {
int* i = __null;
OpenPOWER on IntegriCloud