summaryrefslogtreecommitdiff
path: root/test/wasm/local-symbols.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm/local-symbols.ll')
-rw-r--r--test/wasm/local-symbols.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/wasm/local-symbols.ll b/test/wasm/local-symbols.ll
index 5471466eb076b..dd92b4ec9bc5d 100644
--- a/test/wasm/local-symbols.ll
+++ b/test/wasm/local-symbols.ll
@@ -1,5 +1,6 @@
+; Test that internal symbols can still be GC'd when with --export-dynamic.
; RUN: llc -filetype=obj %s -o %t.o
-; RUN: wasm-ld -o %t.wasm %t.o
+; RUN: wasm-ld --export-dynamic -o %t.wasm %t.o
; RUN: obj2yaml %t.wasm | FileCheck %s
target triple = "wasm32-unknown-unknown"
@@ -35,7 +36,7 @@ entry:
; CHECK-NEXT: FunctionTypes: [ 0, 1, 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