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 00000000000..3a87a00000c --- /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*) +