Nick Lewycky | f7e4981 | 2009-06-12 05:20:12 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llvm-dis -disable-output |
2 | ; PR4373 | ||||
3 | |||||
4 | @foo = weak global { i32 } zeroinitializer | ||||
5 | @bar = weak global i32 0 | ||||
6 | |||||
7 | define void @test() { | ||||
8 | entry: | ||||
9 | store { i32 } zeroinitializer, { i32 }* @foo | ||||
10 | store i32 1, i32* @bar | ||||
11 | ret void | ||||
12 | } |