From 8ffce2ade3fb12b101511342efec2e8c164971d0 Mon Sep 17 00:00:00 2001 From: Dave Bartolomeo Date: Fri, 3 Mar 2017 00:08:55 +0000 Subject: [PATCH] Fix msc-version.c test to handle _MSC_VER=1910 Previously, VC++ has always set _MSC_VER to a four-digit value with the two least significant digits set to zero. Visual Studio 2017, however, sets _MSC_VER=1910, and we expect to update the least significant digit as we release major updates for VS 2017. This patch fixes the msc-version.c test to handle non-zero values in the two least significant digits of _MSC_VER. llvm-svn: 296843 --- clang/test/Driver/msc-version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Driver/msc-version.c b/clang/test/Driver/msc-version.c index 7e71b9cac8ea..ec87e4d41eb4 100644 --- a/clang/test/Driver/msc-version.c +++ b/clang/test/Driver/msc-version.c @@ -63,4 +63,4 @@ // CHECK-MS-EXTENSIONS: _MSC_BUILD 1 // CHECK-MS-EXTENSIONS: _MSC_FULL_VER {{.+}} -// CHECK-MS-EXTENSIONS: _MSC_VER {{..}}00 +// CHECK-MS-EXTENSIONS: _MSC_VER {{....}}