summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2004-08-09-va-end-null.ll
blob: ae7ba5305c00f0cbc7260698e57921b1fae8aaf8 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as < %s | llc -march=c

declare void @llvm.va_end(i8*)

define void @test() {
        %va.upgrd.1 = bitcast i8* null to i8*           ; <i8*> [#uses=1]
        call void @llvm.va_end( i8* %va.upgrd.1 )
        ret void
}

OpenPOWER on IntegriCloud