ARM: add at least one real test for r242123.

The ones committed were orthogonal to the change and would have passed before
that revision. What it *did* do was prevent an assertion failure when
generating object files.

llvm-svn: 242166
This commit is contained in:
Tim Northover 2015-07-14 17:23:55 +00:00
parent 0256486532
commit feabe2e21e
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
; RUN: llc -mtriple=thumbv7-windows-itanium -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
; RUN: llc -mtriple=thumbv7-windows-gnu -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
define void @foo() {
; CHECK: file format COFF-ARM
; CHECK-LABEL: foo:
; CHECK: bx lr
ret void
}