[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / llvm / test / MC / WebAssembly / functype-invalid.s
blob89b90c56e76522ec76ed8aef72df7d4a53b90dd0
1 # RUN: not llvm-mc -triple=wasm32 %s 2>&1 | FileCheck %s
3 # CHECK: [[#@LINE+1]]:10: error: Expected identifier, got:
4 .functype
6 # CHECK: [[#@LINE+1]]:13: error: Expected (, instead got:
7 .functype fn
9 # CHECK: [[#@LINE+1]]:15: error: Expected ), instead got:
10 .functype fn (
12 # CHECK: [[#@LINE+1]]:15: error: unknown type: i42
13 .functype fn (i42
15 # CHECK: [[#@LINE+1]]:19: error: Expected ), instead got: i32
16 .functype fn (i32 i32
18 # CHECK: [[#@LINE+1]]:16: error: Expected ->, instead got:
19 .functype fn ()
21 # CHECK: [[#@LINE+1]]:17: error: Expected ->, instead got: <
22 .functype fn () <- ()
24 # CHECK: [[#@LINE+1]]:21: error: Expected ), instead got:
25 .functype fn () -> (
27 # CHECK: [[#@LINE+1]]:23: error: Expected EOL, instead got: ->
28 .functype fn () -> () -> ()