aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/global-ret0.ll
blob: dfe6aef67d36f6c58bb14a696b15bd4000d6a3e7 (plain)
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
}