Mercurial > hg > CbC > CbC_llvm
view test/Verifier/inalloca3.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | |
children |
line wrap: on
line source
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s declare void @doit(i64* inalloca %a) define void @a() { entry: %a = alloca [2 x i32] %b = bitcast [2 x i32]* %a to i64* call void @doit(i64* inalloca %b) ; CHECK: inalloca argument for call has mismatched alloca ret void }