Merge branch 'master' into msp430
[llvm/msp430.git] / test / CodeGen / Alpha / 2006-01-26-VaargBreak.ll
blob05ebe1eb888b2c63915a20a2e8e2ad94d8d9c49f
1 ; This shouldn't crash
2 ; RUN: llvm-as < %s | llc -march=alpha 
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 }
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