aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/inline-asm-special-strings.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/inline-asm-special-strings.ll')
-rw-r--r--test/CodeGen/Generic/inline-asm-special-strings.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/inline-asm-special-strings.ll b/test/CodeGen/Generic/inline-asm-special-strings.ll
new file mode 100644
index 0000000000..e52e0be74b
--- /dev/null
+++ b/test/CodeGen/Generic/inline-asm-special-strings.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc | grep "foo 0 0"
+
+define void @bar() nounwind {
+ tail call void asm sideeffect "foo ${:uid} ${:uid}", ""() nounwind
+ ret void
+}