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