From bc9bd0e79a235a0f406695658fa503dd2a3cc65c Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 20 Jun 2011 08:59:25 +0000 Subject: [PATCH] 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 --- test/SemaCXX/null_in_arithmetic_ops.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 void f() { -- 2.50.1