Home | History | Annotate | Download | only in GC
      1 ; RUN: not llvm-as < %s >& /dev/null
      2 
      3 declare void @llvm.gcroot(i8**, i8*)
      4 
      5 define void @f(i8* %x) {
      6 	%root = alloca i8*
      7 	call void @llvm.gcroot(i8** %root, i8* null)
      8 	store i8* %x, i8** %root
      9 	ret void
     10 }
     11