summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/Windows/trivial-gnu-object.ll
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-08-07 23:01:33 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-08-07 23:01:33 +0000
commitee8648bdac07986a0f1ec897b02ec82a2f144d46 (patch)
tree52d1861acda1205241ee35a94aa63129c604d469 /test/CodeGen/ARM/Windows/trivial-gnu-object.ll
parent1a82d4c088707c791c792f6822f611b47a12bdfe (diff)
Diffstat (limited to 'test/CodeGen/ARM/Windows/trivial-gnu-object.ll')
-rw-r--r--test/CodeGen/ARM/Windows/trivial-gnu-object.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/Windows/trivial-gnu-object.ll b/test/CodeGen/ARM/Windows/trivial-gnu-object.ll
new file mode 100644
index 000000000000..a242f39601cb
--- /dev/null
+++ b/test/CodeGen/ARM/Windows/trivial-gnu-object.ll
@@ -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
+}