llvm.org GIT mirror llvm / release_21 test / CodeGen / Generic / global-ret0.ll
release_21

Tree @release_21 (Download .tar.gz)

global-ret0.ll @release_21raw · history · blame

1
2
3
4
5
6
7
8
; RUN: llvm-upgrade < %s | llvm-as | llc

%g = global int 0

int %main() {  
  %h = load int* %g
  ret int %h
}