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

Tree @release_22 (Download .tar.gz)

global-ret0.ll @release_22raw · 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
}