]> granicus.if.org Git - clang/commitdiff
Fix typo in test from r264210, sigh.
authorNico Weber <nicolasweber@gmx.de>
Wed, 23 Mar 2016 23:01:38 +0000 (23:01 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 23 Mar 2016 23:01:38 +0000 (23:01 +0000)
(The test passes both with and without this change, but it's confusing without
it.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264211 91177308-0d34-0410-b5e6-96231b3b80d8

test/Misc/diag-format.c

index 8f867bd96e6fc1881389bf09b925dab6bceb056f..188c7bed48f9d47a045e8f182deb60216207b17a 100644 (file)
@@ -17,7 +17,7 @@
 //
 // RUN: %clang -fsyntax-only -fdiagnostics-format=vi    %s 2>&1 | FileCheck %s -check-prefix=VI
 //
-// RUN: %clang -fsyntax-only -fdiagnostics-format=msvc -fno-show-column -fmsc-version=1500 %s 2>&1 | FileCheck %s -check-prefix=MSVC2015_ORIG
+// RUN: %clang -fsyntax-only -fdiagnostics-format=msvc -fno-show-column -fmsc-version=1900 %s 2>&1 | FileCheck %s -check-prefix=MSVC2015_ORIG
 //
 // RUN: %clang -fsyntax-only -fno-show-column %s 2>&1 | FileCheck %s -check-prefix=NO_COLUMN
 //
@@ -40,7 +40,7 @@
 // MSVC: {{.*}}(36,8) : warning: extra tokens at end of #endif directive [-Wextra-tokens]
 // MSVC2015: {{.*}}(36,8): warning: extra tokens at end of #endif directive [-Wextra-tokens]
 // VI: {{.*}} +36:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
-// MSVC2015_ORIG: {{.*}}(36) : warning: extra tokens at end of #endif directive [-Wextra-tokens]
+// MSVC2015_ORIG: {{.*}}(36): warning: extra tokens at end of #endif directive [-Wextra-tokens]
 // NO_COLUMN: {{.*}}:36: warning: extra tokens at end of #endif directive [-Wextra-tokens]
 // MSVC2010-FALLBACK: {{.*}}(36,7) : error(clang): extra tokens at end of #endif directive
 // MSVC2013-FALLBACK: {{.*}}(36,8) : error(clang): extra tokens at end of #endif directive