• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: not llvm-as < %s >& /dev/null
2; PR1633
3
4%meta = type { i8* }
5%obj = type { %meta* }
6
7declare void @llvm.gcroot(%obj**, %meta*)
8
9define void @f() {
10entry:
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