14 lines · plain
1; RUN: llvm-as < %s 2>&1 | FileCheck %s 2 3; CHECK-NOT: Instruction operands must be first-class4 5; This previously was for PR826, but structs are now first-class so6; the following is now valid.7 8 %struct_4 = type { i32 }9 10define void @test() {11 store %struct_4 zeroinitializer, ptr null12 unreachable13}14