blob: 80ab122d0b7dbaa7c04ff0e91067e8175ab48ed3 [file] [log] [blame]
Dan Gohmane6b1ee62008-05-23 01:55:30 +00001; RUN: llvm-as < %s |& not grep {Instruction operands must be first-class}
2
3; This previously was for PR826, but structs are now first-class so
4; the following is now valid.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00005
Nick Lewycky490e7932008-03-16 07:55:46 +00006 %struct_4 = type { i32 }
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007
Nick Lewycky490e7932008-03-16 07:55:46 +00008define void @test() {
Dan Gohmanf17a25c2007-07-18 16:29:46 +00009 store %struct_4 zeroinitializer, %struct_4* null
10 unreachable
11}