Recommit r310809 with a fix for the spill problem
[llvm-core.git] / test / Verifier / gcroot-alloca.ll
blob775bde78250e2b97160f752301857f114e60a56c
1 ; RUN: not llvm-as < %s > /dev/null 2>&1
2 ; PR1633
4 %meta = type { i8* }
5 %obj = type { %meta* }
7 declare void @llvm.gcroot(%obj**, %meta*)
9 define void @f() {
10 entry:
11         call void @llvm.gcroot(%obj** null, %meta* null)
12         
13         ret void