aboutsummaryrefslogtreecommitdiff
path: root/tests/target-triplet
diff options
context:
space:
mode:
Diffstat (limited to 'tests/target-triplet')
-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 62e6503..0bb305e 100644
--- a/tests/target-triplet/driver.cxx
+++ b/tests/target-triplet/driver.cxx
@@ -89,6 +89,10 @@ main ()
"x86_64-linux-gnux32",
"x86_64", "", "linux-gnux32", "", "linux"));
+ assert (test ("x86_64--netbsd",
+ "x86_64-netbsd",
+ "x86_64", "", "netbsd", "", "bsd"));
+
// Removal of none-.
//
assert (test ("arm-none",
@@ -109,6 +113,10 @@ main ()
"x86_64-freebsd10.2",
"x86_64", "", "freebsd", "10.2", "bsd"));
+ assert (test ("x86_64-unknown-netbsd9.0",
+ "x86_64-netbsd9.0",
+ "x86_64", "", "netbsd", "9.0", "bsd"));
+
assert (test ("x86_64-pc-openbsd5.6",
"x86_64-openbsd5.6",
"x86_64", "", "openbsd", "5.6", "bsd"));