view test/Verifier/gcwrite-ptrptr.ll @ 85:5e5d649e25d2

Update LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Thu, 19 Feb 2015 15:19:25 +0900
parents 95c75e76d11b
children 803732b1fca8
line wrap: on
line source

; RUN: not llvm-as < %s >& /dev/null
; 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
}