view test/Verifier/gcwrite-ptrptr.ll @ 52:c22698ecb2a9

modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Wed, 15 Jan 2014 21:01:33 +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
}