Add more tests for MSVC version handling.
authorDavid L. Jones <dlj@google.com>
Wed, 7 Dec 2016 23:39:44 +0000 (23:39 +0000)
committerDavid L. Jones <dlj@google.com>
Wed, 7 Dec 2016 23:39:44 +0000 (23:39 +0000)
commit62cd86863ac8ea13948a0397f46eead6a18d60b0
tree7f8e8221e3fa8e08a43a3ec7c5c6d6a5f324b1e9
parent9a97acc097e1c90c65cc1e72d30bbee9c1870e1f
Add more tests for MSVC version handling.

Summary:
This change adds more test cases for the default MSVC compatibility version:
 1. When -fms-extensions is supplied, but -fmsc-version and
    -fms-compatibility-version are not.
 2. With the target triple specifies an MSVC environment, but no other
    -fms* flags.

Reviewers: rnk, llvm-commits

Subscribers: hans, compnerd, amccarth

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

llvm-svn: 288997
clang/test/Driver/msc-version.c
clang/test/Driver/msvc-triple.c