summaryrefslogtreecommitdiff
path: root/test/wasm/alias.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm/alias.ll')
-rw-r--r--test/wasm/alias.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm/alias.ll b/test/wasm/alias.ll
index f88452e538c45..358582ea1520e 100644
--- a/test/wasm/alias.ll
+++ b/test/wasm/alias.ll
@@ -1,5 +1,5 @@
; RUN: llc -filetype=obj -o %t.o %s
-; RUN: wasm-ld %t.o -o %t.wasm
+; RUN: wasm-ld --export=start_alias %t.o -o %t.wasm
; RUN: obj2yaml %t.wasm | FileCheck %s
target triple = "wasm32-unknown-unknown"
@@ -25,7 +25,7 @@ entry:
; CHECK-NEXT: FunctionTypes: [ 0, 0 ]
; CHECK-NEXT: - Type: TABLE
; CHECK-NEXT: Tables:
-; CHECK-NEXT: - ElemType: ANYFUNC
+; CHECK-NEXT: - ElemType: FUNCREF
; CHECK-NEXT: Limits:
; CHECK-NEXT: Flags: [ HAS_MAX ]
; CHECK-NEXT: Initial: 0x00000001