llvm-project/llvm/test/CodeGen/MIR/ARM/extraneous-closing-brace-er...

21 lines
386 B
YAML

# RUN: not llc -mtriple thumbv7-apple-ios -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
--- |
define i32 @test1(i32 %a) {
entry:
ret i32 %a
}
...
---
name: test1
tracksRegLiveness: true
liveins:
- { reg: '$r0' }
body: |
bb.0.entry:
liveins: $r0
tBX_RET 14, _, implicit killed $r0
; CHECK: [[@LINE+1]]:5: extraneous closing brace ('}')
}
...