aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2004-08-09-va-end-null.ll
blob: 3ee23d1a909a282513699a4e21825e5ca2c2c873 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -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
}