[AArch64][SME2] Add multi-vector saturating doubling multiply high intrinsics
[llvm-project.git] / lld / test / wasm / invalid-mvp-table-use.s
blobb4f12a7eeb9a48725984e1c451647ad8289d4fd9
1 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
3 # If any table is defined or declared besides the __indirect_function_table,
4 # the compilation unit should be compiled with -mattr=+reference-types,
5 # causing symbol table entries to be emitted for all tables.
6 # RUN: not wasm-ld --no-entry %t.o -o %t.wasm 2>&1 | FileCheck -check-prefix=CHECK-ERR %s
8 .global call_indirect
9 call_indirect:
10 .functype call_indirect () -> ()
11 i32.const 1
12 call_indirect () -> ()
13 end_function
15 .globl table
16 table:
17 .tabletype table, externref
19 # CHECK-ERR: expected one symbol table entry for each of the 2 table(s) present, but got 1 symbol(s) instead.