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

Tree @release_20 (Download .tar.gz)

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