blob: 80ab122d0b7dbaa7c04ff0e91067e8175ab48ed3 [file] [log] [blame]
Dan Gohmane4977cf2008-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.
Chris Lattnerf7cb6742006-07-11 20:29:21 +00005
Nick Lewycky3f637852008-03-16 07:55:46 +00006 %struct_4 = type { i32 }
Chris Lattnerf7cb6742006-07-11 20:29:21 +00007
Nick Lewycky3f637852008-03-16 07:55:46 +00008define void @test() {
Chris Lattnerf7cb6742006-07-11 20:29:21 +00009 store %struct_4 zeroinitializer, %struct_4* null
10 unreachable
11}