aboutsummaryrefslogtreecommitdiffstats
path: root/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll
blob: 415f88e1637483b9749ebd5c2b9d192cff2c172d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; 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
}