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


%X = type { int, float }

void %test() {
  getelementptr %X* null, long 0, ubyte 1
  ret void
}