]> granicus.if.org Git - clang/commitdiff
Make sure __null test runs in both 32- and 64-bit. Thanks Anders
authorDouglas Gregor <dgregor@apple.com>
Mon, 1 Dec 2008 18:05:11 +0000 (18:05 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 1 Dec 2008 18:05:11 +0000 (18:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60360 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/__null.cpp

index cc04ebca497519f1412e2b5de7b9f8c4a2327df7..3d78e2e8db7d4aaf8aa0464bb51aaa5ebb212748 100644 (file)
@@ -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;