2008-05-23 09:55:30 +08:00
|
|
|
; RUN: llvm-as < %s |& not grep {Instruction operands must be first-class}
|
|
|
|
|
|
|
|
; This previously was for PR826, but structs are now first-class so
|
|
|
|
; the following is now valid.
|
2006-07-12 04:29:21 +08:00
|
|
|
|
2008-03-16 15:55:46 +08:00
|
|
|
%struct_4 = type { i32 }
|
2006-07-12 04:29:21 +08:00
|
|
|
|
2008-03-16 15:55:46 +08:00
|
|
|
define void @test() {
|
2006-07-12 04:29:21 +08:00
|
|
|
store %struct_4 zeroinitializer, %struct_4* null
|
|
|
|
unreachable
|
|
|
|
}
|