aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/Alpha/2006-11-01-vastart.ll18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/2006-11-01-vastart.ll b/test/CodeGen/Alpha/2006-11-01-vastart.ll
new file mode 100644
index 0000000000..3a87a00000
--- /dev/null
+++ b/test/CodeGen/Alpha/2006-11-01-vastart.ll
@@ -0,0 +1,18 @@
+; RUN: llvm-as < %s | llc -march=alpha
+
+target datalayout = "e-p:64:64"
+target endian = little
+target pointersize = 64
+target triple = "alphaev67-unknown-linux-gnu"
+ %struct.va_list = type { sbyte*, int, int }
+
+implementation ; Functions:
+
+void %yyerror(int, ...) {
+entry:
+ call void %llvm.va_start( %struct.va_list* null )
+ ret void
+}
+
+declare void %llvm.va_start(%struct.va_list*)
+