extraneous-closing-brace-error.mir
386 Bytes
# 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 ('}')
}
...