1; RUN: llc -mtriple=x86_64 < %s -O0 2 3define i32 @main() { 4entry: 5 call void @f() 6 ret i32 0 7} 8 9define void @f() gc "ocaml" { 10entry: 11 %ptr.stackref = alloca ptr 12 call void @llvm.gcroot(ptr %ptr.stackref, ptr null) 13 ret void 14} 15 16declare void @llvm.gcroot(ptr, ptr) nounwind 17