From df2ca2c72fd7d267e27c1643c5d6ac9fa3b6114a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 6 Dec 2017 10:37:08 +0200 Subject: Handle system version in Clang's *-windows-msvc target triplet --- tests/target-triplet/driver.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/target-triplet') diff --git a/tests/target-triplet/driver.cxx b/tests/target-triplet/driver.cxx index 78329bd..1bed65b 100644 --- a/tests/target-triplet/driver.cxx +++ b/tests/target-triplet/driver.cxx @@ -122,9 +122,17 @@ main () "x86_64-microsoft-win32-msvc14.0", "x86_64", "microsoft", "win32-msvc", "14.0", "windows")); + assert (test ("x86_64-windows-msvc", + "x86_64-windows-msvc", + "x86_64", "", "windows-msvc", "", "windows")); + assert (test ("x86_64-pc-windows-msvc", "x86_64-windows-msvc", "x86_64", "", "windows-msvc", "", "windows")); + + assert (test ("x86_64-pc-windows-msvc19.11.25547", + "x86_64-windows-msvc19.11.25547", + "x86_64", "", "windows-msvc", "19.11.25547", "windows")); } static bool -- cgit v1.1