aboutsummaryrefslogtreecommitdiff
path: root/test/wasm/version.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm/version.ll')
-rw-r--r--test/wasm/version.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/wasm/version.ll b/test/wasm/version.ll
index 2ae65d9ad37f7..ea5b41ff9b0da 100644
--- a/test/wasm/version.ll
+++ b/test/wasm/version.ll
@@ -1,7 +1,9 @@
-; RUN: llc -filetype=obj -mtriple=wasm32-unknown-unknown-wasm %s -o %t.o
-; RUN: lld -flavor wasm -o %t.wasm %t.o
+; RUN: llc -filetype=obj %s -o %t.o
+; RUN: wasm-ld -o %t.wasm %t.o
; RUN: llvm-readobj -file-headers %t.wasm | FileCheck %s
+target triple = "wasm32-unknown-unknown"
+
define hidden void @_start() local_unnamed_addr #0 {
entry:
ret void