From 819741778f6ad75b5b104d2107a8fd9e30d4d4e5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 30 Nov 2020 13:10:26 +0200 Subject: Canonicalize arm64 to aarch64 in target triplet, similar to config.sub --- tests/target-triplet/driver.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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", -- cgit v1.1