]> granicus.if.org Git - clang/commitdiff
Fix calling convention test
authorReid Kleckner <rnk@google.com>
Tue, 17 May 2016 16:54:40 +0000 (16:54 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 17 May 2016 16:54:40 +0000 (16:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269781 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/callingconv-cast.c

index 88b25e8f17a430664f5d535fe0d09025e54b9c5b..af6652e16eda17c3d0e99bbe3b2eb750535ae287 100644 (file)
@@ -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) {}