llvm-6502/test/CodeGen/Generic/GC/lower_gcroot.ll
Evan Cheng 4e9c473c4d Fix a gcroot lowering bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41668 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-01 02:00:51 +00:00

11 lines
180 B
LLVM

; RUN: llvm-as < %s | llc
%Env = type opaque*
define void @.main(%Env) {
call void @llvm.gcroot( %Env* null, %Env null )
unreachable
}
declare void @llvm.gcroot(%Env*, %Env)