manually upgrade a bunch of tests to modern syntax, and remove some that
[oota-llvm.git] / test / CodeGen / Alpha / 2006-01-26-VaargBreak.ll
1 ; This shouldn't crash
2 ; RUN: llc < %s -march=alpha 
3
4 target datalayout = "e-p:64:64"
5 target triple = "alphaev6-unknown-linux-gnu"
6 deplibs = [ "c", "crtend", "stdc++" ]
7         %struct.__va_list_tag = type { i8*, i32 }
8
9 define i32 @emit_library_call_value(i32 %nargs, ...) {
10 entry:
11         %tmp.223 = va_arg %struct.__va_list_tag* null, i32              ; <i32> [#uses=1]
12         ret i32 %tmp.223
13 }
14