[WinEH] Disallow cyclic unwinds
[oota-llvm.git] / test / Verifier / gcroot-alloca.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.gcroot(%obj**, %meta*)
8
9 define void @f() {
10 entry:
11         call void @llvm.gcroot(%obj** null, %meta* null)
12         
13         ret void
14 }