aboutsummaryrefslogtreecommitdiffstats
path: root/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll
blob: 9405fbbe79bf9fe4fd33b93c4ae8cbac279a9645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-as < %s | llvm-dis -disable-output
; RUN: verify-uselistorder < %s
; 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
}