aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-04 15:28:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-04 15:28:42 +0200
commit8de41f3d54c265b9fcbcd3df943b1049f17e662e (patch)
treea4f4c947f4ce5dddcc4139a572e66672de19acf3 /tests
parentae93579cf9b706a79085e5d694785a0a1189b60e (diff)
Recognize and handle Clang's <cpu>-pc-windows-msvc target triplet
Diffstat (limited to 'tests')
-rw-r--r--tests/target-triplet/driver.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/target-triplet/driver.cxx b/tests/target-triplet/driver.cxx
index 5e61a46..78329bd 100644
--- a/tests/target-triplet/driver.cxx
+++ b/tests/target-triplet/driver.cxx
@@ -121,6 +121,10 @@ main ()
assert (test ("x86_64-microsoft-win32-msvc14.0",
"x86_64-microsoft-win32-msvc14.0",
"x86_64", "microsoft", "win32-msvc", "14.0", "windows"));
+
+ assert (test ("x86_64-pc-windows-msvc",
+ "x86_64-windows-msvc",
+ "x86_64", "", "windows-msvc", "", "windows"));
}
static bool