blob: 1836f61c7ad6d7eea4092b4428c32175a4860748 [file] [log] [blame]
; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }
%obj = type { %meta* }
declare void @llvm.gcroot(%obj**, %meta*)
define void @f() {
entry:
%local.obj = alloca %obj*
%local.meta = alloca %meta
call void @llvm.gcroot(%obj** %local.obj, %meta* %local.meta)
ret void
}