summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/CodeGen/ARM/2007-05-14-InlineAsmCstCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/2007-05-14-InlineAsmCstCrash.ll b/llvm/test/CodeGen/ARM/2007-05-14-InlineAsmCstCrash.ll
new file mode 100644
index 00000000000..58c5f89c619
--- /dev/null
+++ b/llvm/test/CodeGen/ARM/2007-05-14-InlineAsmCstCrash.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=arm -mattr=+v6
+
+define i32 @test3() {
+ tail call void asm sideeffect "/* number: ${0:c} */", "i"( i32 1 )
+ ret i32 11
+}
OpenPOWER on IntegriCloud