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

Tree @release_16 (Download .tar.gz)

global-ret0.ll @release_16raw · history · blame

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

%g = global int 0

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