Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / Alpha / 2006-01-26-VaargBreak.ll
1 ; This shouldn't crash
2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha 
3
4 ; ModuleID = 'simp.bc'
5 target endian = little
6 target pointersize = 64
7 target triple = "alphaev6-unknown-linux-gnu"
8 deplibs = [ "c", "crtend", "stdc++" ]
9         %struct.__va_list_tag = type { sbyte*, int }
10
11 implementation   ; Functions:
12
13 uint %emit_library_call_value(int %nargs, ...) {
14 entry:
15         %tmp.223 = va_arg %struct.__va_list_tag* null, uint             ; <uint> [#uses=0]
16         ret uint %tmp.223
17 }