comparison test/Verifier/inalloca-vararg.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 afa8332a0e37
comparison
equal deleted inserted replaced
34:e874dbf0ad9d 77:54457678186b
1 ; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
3 declare void @h(i32, ...)
4 define void @i() {
5 %args = alloca inalloca i32
6 call void (i32, ...)* @h(i32 1, i32* inalloca %args, i32 3)
7 ; CHECK: inalloca isn't on the last argument!
8 ret void
9 }