summaryrefslogtreecommitdiff
path: root/test/CodeGen/CBackend/2003-06-01-NullPointerType.ll
blob: 6b7f9f0d378a383a4922912664f5ff22dea1a81e (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llc -march=c

%X = type { i32, float }

define void @test() {
        getelementptr %X* null, i64 0, i32 1            ; <float*>:1 [#uses=0]
        ret void
}