[X86] Update test/CodeGen/X86/avg.ll with the help of update_llc_test_checks.py....
[oota-llvm.git] / test / Verifier / gcroot-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.gcroot(%obj*, %meta*)
8
9 define void @f() {
10 entry:
11         %local.obj = alloca %obj
12         call void @llvm.gcroot(%obj* %local.obj, %meta* null)
13         ret void
14 }