2006-07-11-StoreStruct.ll 331 B

12345678910111213
  1. ; RUN: llvm-as < %s 2>&1 | FileCheck %s
  2. ; CHECK-NOT: Instruction operands must be first-class
  3. ; This previously was for PR826, but structs are now first-class so
  4. ; the following is now valid.
  5. %struct_4 = type { i32 }
  6. define void @test() {
  7. store %struct_4 zeroinitializer, %struct_4* null
  8. unreachable
  9. }