view test/Verifier/gcroot-alloca.ll @ 146:3fc4d5c3e21e

set tail call flag for code segment in CGCAll
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 19:23:36 +0900
parents 803732b1fca8
children
line wrap: on
line source

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