mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
13 lines
288 B
LLVM
13 lines
288 B
LLVM
|
; RUN: llvm-as < %s | llvm-dis -disable-output
|
||
|
; PR4373
|
||
|
|
||
|
@foo = weak global { i32 } zeroinitializer
|
||
|
@bar = weak global i32 0
|
||
|
|
||
|
define void @test() {
|
||
|
entry:
|
||
|
store { i32 } zeroinitializer, { i32 }* @foo
|
||
|
store i32 1, i32* @bar
|
||
|
ret void
|
||
|
}
|