]> granicus.if.org Git - clang/commitdiff
Loosen checks for _MSC_FULL_VER under -fms-extensions.
authorDavid L. Jones <dlj@google.com>
Thu, 8 Dec 2016 01:11:41 +0000 (01:11 +0000)
committerDavid L. Jones <dlj@google.com>
Thu, 8 Dec 2016 01:11:41 +0000 (01:11 +0000)
Summary:
On actual Windows hosts :-) , this could report something other than the
fallback, with a non-zero minor/build number.

Reviewers: rnk, llvm-commits

Differential Revision: https://reviews.llvm.org/D27554

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

test/Driver/msc-version.c

index ae417e71cb9e1d8cf66c5f13e9094b15dcab31f5..7e71b9cac8ea90e6152bd3ffe414b3711fd887bf 100644 (file)
@@ -62,5 +62,5 @@
 // RUN: %clang -target i686-windows -fms-extensions -dM -E - </dev/null -o - | FileCheck %s -check-prefix CHECK-MS-EXTENSIONS
 
 // CHECK-MS-EXTENSIONS: _MSC_BUILD 1
-// CHECK-MS-EXTENSIONS: _MSC_FULL_VER {{..}}000000
+// CHECK-MS-EXTENSIONS: _MSC_FULL_VER {{.+}}
 // CHECK-MS-EXTENSIONS: _MSC_VER {{..}}00