xref: /llvm-project/llvm/test/Verifier/2006-07-11-StoreStruct.ll (revision c820f2a43eaba02db97c4ff60c58a58e6bdd391d)
1; RUN: llvm-as < %s 2>&1 | FileCheck %s
2
3; CHECK-NOT: Instruction operands must be first-class
4
5; This previously was for PR826, but structs are now first-class so
6; the following is now valid.
7
8        %struct_4 = type { i32 }
9
10define void @test() {
11        store %struct_4 zeroinitializer, ptr null
12        unreachable
13}
14