1 ; RUN: not llvm-as < %s > /dev/null 2>&1
3 %list = type { i32, ptr }
6 ; This usage is invalid now; instead, objects must be bitcast to ptr for input
7 ; to the gc intrinsics.
8 declare void @llvm.gcroot(ptr, ptr)
10 define void @root() gc "example" {
12 call void @llvm.gcroot(ptr %x.var, ptr null)