aboutsummaryrefslogtreecommitdiff
path: root/tests/target-triplet/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-06 10:37:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-06 10:37:08 +0200
commitdf2ca2c72fd7d267e27c1643c5d6ac9fa3b6114a (patch)
treec2743eebb1bb0ee0dbb4846bcec8666ee057390c /tests/target-triplet/driver.cxx
parent5937468ae094d4189358cb96c5db2ebe2f4d0b2a (diff)
Handle system version in Clang's *-windows-msvc target triplet
Diffstat (limited to 'tests/target-triplet/driver.cxx')
-rw-r--r--tests/target-triplet/driver.cxx8
1 files changed, 8 insertions, 0 deletions
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