# RUN: not llc -mtriple=wasm32-unknown-unknown -run-pass none -o /dev/null %s 2>&1 | FileCheck %s | |
# When a typed immediate operand does not start with 'i', 's', or 'p' | |
--- | |
name: test_typed_immediate_operand_invalid1 | |
liveins: | |
- { reg: '$arguments' } | |
body: | | |
bb.0: | |
liveins: $arguments | |
; CHECK: [[@LINE+1]]:24: a typed immediate operand should start with one of 'i', 's', or 'p' | |
%0:i32 = CONST_I32 abc 0, implicit-def dead $arguments | |
RETURN_VOID implicit-def dead $arguments | |
... |