llvm-project/llvm/test/CodeGen/Generic/global-ret0.ll

9 lines
112 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | llc
2004-11-07 05:40:51 +08:00
%g = global int 0
int %main() {
%h = load int* %g
ret int %h
}