brintos

brintos / llvm-project-archived public Read only

0
0
Text · 308 B · 7eadc7f Raw
13 lines · plain
1; RUN: not llvm-as < %s > /dev/null 2>&12 3	%list = type { i32, ptr }4 5; This usage is invalid now; instead, objects must be bitcast to ptr for input6; to the gc intrinsics.7declare ptr @llvm.gcread(ptr, ptr)8 9define ptr @tl(ptr %l) gc "example" {10	%hd = call ptr @llvm.gcread(ptr %l, ptr %l)11	ret i32 %tmp12}13