aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-06-20 08:59:25 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-06-20 08:59:25 +0000
commitbc9bd0e79a235a0f406695658fa503dd2a3cc65c (patch)
tree92cff5828bf5cae72cab41fc7c03fdde6b0947e3
parentae0bafa229d076a0fb90b5aeccea7e3039c58751 (diff)
Use an explicitly 64-bit triple flag to ensure we can easily verify the
types printed in various diagnostics. We could omit checking for the types, but that can mask errors where the wrong type is streamed into the diagnostic. There was at least one of these caught by this test already. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133429 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaCXX/null_in_arithmetic_ops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/null_in_arithmetic_ops.cpp b/test/SemaCXX/null_in_arithmetic_ops.cpp
index d9cfc5f89a..26af5e6e75 100644
--- a/test/SemaCXX/null_in_arithmetic_ops.cpp
+++ b/test/SemaCXX/null_in_arithmetic_ops.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -fblocks -Wnull-arithmetic -verify %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -fblocks -Wnull-arithmetic -verify %s
#include <stddef.h>
void f() {