Fix PR4484.
[oota-llvm.git] / test / Verifier / 2006-07-11-StoreStruct.ll
1 ; RUN: llvm-as < %s |& not grep {Instruction operands must be first-class}
2
3 ; This previously was for PR826, but structs are now first-class so
4 ; the following is now valid.
5
6         %struct_4 = type { i32 }
7
8 define void @test() {
9         store %struct_4 zeroinitializer, %struct_4* null
10         unreachable
11 }