| Chandler Carruth | ff123d5 | 2012-07-02 19:09:46 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s 2>&1 | not grep "Instruction operands must be first-class" | 
| Dan Gohman | 3049984 | 2008-05-23 01:55:30 +0000 | [diff] [blame] | 2 |  | 
|  | 3 | ; This previously was for PR826, but structs are now first-class so | 
|  | 4 | ; the following is now valid. | 
| Chris Lattner | 7a00b86 | 2006-07-11 20:29:21 +0000 | [diff] [blame] | 5 |  | 
| Nick Lewycky | ec6f166 | 2008-03-16 07:55:46 +0000 | [diff] [blame] | 6 | %struct_4 = type { i32 } | 
| Chris Lattner | 7a00b86 | 2006-07-11 20:29:21 +0000 | [diff] [blame] | 7 |  | 
| Nick Lewycky | ec6f166 | 2008-03-16 07:55:46 +0000 | [diff] [blame] | 8 | define void @test() { | 
| Chris Lattner | 7a00b86 | 2006-07-11 20:29:21 +0000 | [diff] [blame] | 9 | store %struct_4 zeroinitializer, %struct_4* null | 
|  | 10 | unreachable | 
|  | 11 | } |