YouCompleteMe/cpp/llvm/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll

13 lines
288 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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
}