[WebAssembly] Use the new offset syntax for memory operands in inline asm.
[oota-llvm.git] / test / CodeGen / Thumb / trap.ll
1 ; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s
2 ; rdar://7961298
3
4 define void @t() nounwind {
5 entry:
6 ; CHECK-LABEL: t:
7 ; CHECK: trap
8   call void @llvm.trap()
9   unreachable
10 }
11
12 declare void @llvm.trap() nounwind