[WinEH] Disallow cyclic unwinds
[oota-llvm.git] / test / Verifier / 2006-07-11-StoreStruct.ll
1 ; RUN: llvm-as < %s 2>&1 | FileCheck %s 
2
3 ; CHECK-NOT: Instruction operands must be first-class
4
5 ; This previously was for PR826, but structs are now first-class so
6 ; the following is now valid.
7
8         %struct_4 = type { i32 }
9
10 define void @test() {
11         store %struct_4 zeroinitializer, %struct_4* null
12         unreachable
13 }