diff options
author | Dave Bartolomeo <dbartol@microsoft.com> | 2017-03-03 00:08:55 +0000 |
---|---|---|
committer | Dave Bartolomeo <dbartol@microsoft.com> | 2017-03-03 00:08:55 +0000 |
commit | 8ffce2ade3fb12b101511342efec2e8c164971d0 (patch) | |
tree | 968e2edecea6e1431f5cf6b1cf4d350c32ed92c8 /clang/test/Driver/msc-version.c | |
parent | 31a58c6ac06585a9054ad8bd74097a6e9baf438a (diff) | |
download | bcm5719-llvm-8ffce2ade3fb12b101511342efec2e8c164971d0.tar.gz bcm5719-llvm-8ffce2ade3fb12b101511342efec2e8c164971d0.zip |
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
Diffstat (limited to 'clang/test/Driver/msc-version.c')
-rw-r--r-- | clang/test/Driver/msc-version.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/msc-version.c b/clang/test/Driver/msc-version.c index 7e71b9cac8e..ec87e4d41eb 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 {{....}} |