1 # RUN: llvm-mc -mattr=+reference-types -triple=wasm32-unknown-unknown -filetype=obj -o - < %s | obj2yaml | FileCheck %s
3 .globl __indirect_function_table
4 .tabletype __indirect_function_table, funcref
6 .globl obtain_funcref_from_table_index
8 obtain_funcref_from_table_index
:
9 .functype obtain_funcref_from_table_index(i32) -> (funcref)
11 table.get __indirect_function_table
15 # CHECK-NEXT: - Type: TYPE
16 # CHECK-NEXT: Signatures:
17 # CHECK-NEXT: - Index: 0
18 # CHECK-NEXT: ParamTypes:
20 # CHECK-NEXT: ReturnTypes:
21 # CHECK-NEXT: - FUNCREF