aboutsummaryrefslogtreecommitdiff
path: root/test/Verifier/gcroot-alloca.ll
blob: 8caa4b9f58b56cc98d05dfce8b42639ed4105bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: not llvm-as < %s >& /dev/null
; PR1633

%meta = type { i8* }
%obj = type { %meta* }

declare void @llvm.gcroot(%obj**, %meta*)

define void @f() {
entry:
	call void @llvm.gcroot(%obj** null, %meta* null)
	
	ret void
}