brintos

brintos / llvm-project-archived public Read only

0
0
Text · 214 B · 9c1144f Raw
10 lines · plain
1; RUN: not llvm-as < %s > /dev/null 2>&12 3declare void @llvm.gcroot(ptr, ptr) nounwind4 5define void @f() gc "x" {6	%st = alloca { ptr, i1 }		; <ptr> [#uses=1]7	call void @llvm.gcroot(ptr %st, ptr null)8	ret void9}10