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