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 	%local.meta = alloca %meta
     13 	call void @llvm.gcroot(%obj** %local.obj, %meta* %local.meta)
     14 	
     15 	ret void
     16 }
     17