aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/vararg_no_start.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/vararg_no_start.ll')
-rw-r--r--test/CodeGen/X86/vararg_no_start.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vararg_no_start.ll b/test/CodeGen/X86/vararg_no_start.ll
new file mode 100644
index 0000000..ab5c6fc
--- /dev/null
+++ b/test/CodeGen/X86/vararg_no_start.ll
@@ -0,0 +1,9 @@
+; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-windows-msvc < %s | FileCheck %s
+
+define void @foo(i8*, ...) {
+ ret void
+}
+; CHECK-LABEL: {{^_?}}foo:
+; CHECK-NOT: movq
+; CHECK: retq