2013-04-09 02:33:51 +08:00
|
|
|
; RUN: llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
|
|
|
|
; CHECK-NOT: Instruction operands must be first-class
|
2008-05-23 09:55:30 +08:00
|
|
|
|
|
|
|
; 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
|
|
|
|
}
|