14 lines · plain
1; RUN: not llvm-as < %s > /dev/null 2>&12 3 %list = type { i32, ptr }4 %meta = type opaque5 6; This usage is invalid now; instead, objects must be bitcast to ptr for input7; to the gc intrinsics.8declare void @llvm.gcroot(ptr, ptr)9 10define void @root() gc "example" {11 %x.var = alloca ptr12 call void @llvm.gcroot(ptr %x.var, ptr null)13}14