llvm-6502/test/CodeGen/ARM/Windows/trivial-gnu-object.ll
Tim Northover 18ec07dece 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242166 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-14 17:23:55 +00:00

11 lines
299 B
LLVM

; 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
}