Fix live variables issues:
[oota-llvm.git] / test / CodeGen / X86 / x86-64-ret0.ll
diff --git a/test/CodeGen/X86/x86-64-ret0.ll b/test/CodeGen/X86/x86-64-ret0.ll
new file mode 100644 (file)
index 0000000..d4252e7
--- /dev/null
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc -march=x86-64 | grep mov | count 1
+
+define i32 @f() nounwind  {
+       tail call void @t( i32 1 ) nounwind 
+       ret i32 0
+}
+
+declare void @t(i32)