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

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
}