Mercurial > hg > CbC > CbC_llvm
view test/Verifier/varargs-intrinsic.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 | 54457678186b |
line wrap: on
line source
; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s declare void @llvm.experimental.stackmap(i32, i32) declare void @llvm.donothing(...) define void @foo1() { call void @llvm.experimental.stackmap(i32 0, i32 12) ; CHECK: Callsite was not defined with variable arguments! ret void } define void @foo2() { call void (...)* @llvm.donothing(i32 0, i64 1) ; CHECK: Intrinsic was not defined with variable arguments! ret void }