mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
c2a94da313
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123364 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
230 B
LLVM
12 lines
230 B
LLVM
; RUN: llvm-link %s %p/unnamed-addr1-b.ll -S -o - | FileCheck %s
|
|
|
|
@foo = external global i32
|
|
|
|
define i32 @bar() {
|
|
entry:
|
|
%tmp = load i32* @foo, align 4
|
|
ret i32 %tmp
|
|
}
|
|
|
|
; CHECK: @foo = common unnamed_addr global i32 0, align 4
|