aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/gcwrite-ptrptr.ll
blob: b1e96c8aa6ea5c239b269677eac673c7f9f2ab69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: not llvm-as < %s
; PR1633

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

declare void @llvm.gcwrite(%obj*, %obj*, %obj*)

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