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

llvm-svn: 289011

clang/test/Driver/msc-version.c

index ae417e7..7e71b9c 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