From: Reid Kleckner Date: Tue, 17 May 2016 16:54:40 +0000 (+0000) Subject: Fix calling convention test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91945a274ed5eaf1c19b0d6b701d08fae24b041d;p=clang Fix calling convention test git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269781 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/callingconv-cast.c b/test/Sema/callingconv-cast.c index 88b25e8f17..af6652e16e 100644 --- a/test/Sema/callingconv-cast.c +++ b/test/Sema/callingconv-cast.c @@ -3,9 +3,6 @@ // RUN: %clang_cc1 -fms-extensions -triple i686-pc-windows-msvc -Wcast-calling-convention -DMSVC -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s --check-prefix=MSFIXIT // RUN: %clang_cc1 -triple i686-pc-windows-gnu -Wcast-calling-convention -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s --check-prefix=GNUFIXIT -// Check that the warning is disabled by default: -// RUN: %clang_cc1 -fms-extensions -triple i686-pc-windows-msvc -DMSVC -Werror -Wno-pointer-bool-conversion -x c %s - // expected-note@+1 {{consider defining 'mismatched_before_winapi' with the 'stdcall' calling convention}} void mismatched_before_winapi(int x) {}