aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/GC/fat.ll
blob: 9c1144f20e041a8a9178c293c56aa138108ba3bc (plain)
1
2
3
4
5
6
7
8
9
; 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
}