1; RUN: llc < %s
2; REQUIRES: default_triple
3
4 %Env = type i8*
5
6define void @.main(%Env) gc "shadow-stack" {
7 %Root = alloca %Env
8 call void @llvm.gcroot( %Env* %Root, %Env null )
9 unreachable
10}
11
12declare void @llvm.gcroot(%Env*, %Env)
13