view test/Verifier/gcroot-alloca.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.gcroot(%obj**, %meta*)

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