xref: /llvm-project/llvm/test/CodeGen/Generic/global-ret0.ll (revision 0e8bd5a44a1bd8034706189b49a7a816c59304cd)
1; RUN: llc < %s
2
3@g = global i32 0               ; <ptr> [#uses=1]
4
5define i32 @main() {
6        %h = load i32, ptr @g               ; <i32> [#uses=1]
7        ret i32 %h
8}
9