Even though "...-wasm" is now the default for wasm, it's still
desirable to test this form.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325273
91177308-0d34-0410-b5e6-
96231b3b80d8
EXPECT_EQ(Triple::Wasm, Triple("wasm32-unknown-unknown").getObjectFormat());
EXPECT_EQ(Triple::Wasm, Triple("wasm64-unknown-unknown").getObjectFormat());
+ EXPECT_EQ(Triple::Wasm,
+ Triple("wasm32-unknown-unknown-wasm").getObjectFormat());
+ EXPECT_EQ(Triple::Wasm,
+ Triple("wasm64-unknown-unknown-wasm").getObjectFormat());
+
EXPECT_EQ(Triple::ELF,
Triple("wasm32-unknown-unknown-elf").getObjectFormat());
EXPECT_EQ(Triple::ELF,