[WinEH] Disallow cyclic unwinds
[oota-llvm.git] / test / Verifier / gcwrite-ptrptr.ll
1 ; RUN: not llvm-as < %s >& /dev/null
2 ; PR1633
3
4 %meta = type { i8* }
5 %obj = type { %meta* }
6
7 declare void @llvm.gcwrite(%obj*, %obj*, %obj*)
8
9 define void @f() {
10 entry:
11         call void @llvm.gcwrite(%obj* null, %obj* null, %obj* null)
12         ret void
13 }