bolt/deps/llvm-18.1.8/llvm/test/CodeGen/X86/GC/fat.ll
2025-02-14 19:21:04 +01:00

9 lines
214 B
LLVM

; RUN: not llvm-as < %s > /dev/null 2>&1
declare void @llvm.gcroot(ptr, ptr) nounwind
define void @f() gc "x" {
%st = alloca { ptr, i1 } ; <ptr> [#uses=1]
call void @llvm.gcroot(ptr %st, ptr null)
ret void
}