aboutsummaryrefslogtreecommitdiff
path: root/tests/target-triplet/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-11-30 13:10:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-11-30 13:10:26 +0200
commit819741778f6ad75b5b104d2107a8fd9e30d4d4e5 (patch)
treeb739eae356940f3a2de4826bc6ff080a29c686c6 /tests/target-triplet/driver.cxx
parentb8b1c49215be6d042bb27e934597251e21d26951 (diff)
Canonicalize arm64 to aarch64 in target triplet, similar to config.sub
Diffstat (limited to 'tests/target-triplet/driver.cxx')
-rw-r--r--tests/target-triplet/driver.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/target-triplet/driver.cxx b/tests/target-triplet/driver.cxx
index ec232e6..a6eff05 100644
--- a/tests/target-triplet/driver.cxx
+++ b/tests/target-triplet/driver.cxx
@@ -113,6 +113,11 @@ main ()
"wasm32-emscripten",
"wasm32", "", "emscripten", "", "other"));
+ assert (test ("arm64-apple-darwin20.1.0",
+ "aarch64-apple-darwin20.1.0",
+ "aarch64", "apple", "darwin", "20.1.0", "macos"));
+
+
// Version extraction.
//
assert (test ("x86_64-apple-darwin14.5.0",