Home | History | Annotate | Download | only in Verifier
      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 }
     15