llvm/test/CodeGen/Generic/global-ret0.ll
2006-12-02 04:23:10 +00:00

9 lines
112 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc
%g = global int 0
int %main() {
%h = load int* %g
ret int %h
}