comparison test/Assembler/musttail-invalid-2.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 54457678186b
children
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
5 %struct.A = type { i32 } 5 %struct.A = type { i32 }
6 6
7 declare i8* @f(i8*, ...) 7 declare i8* @f(i8*, ...)
8 8
9 define i8* @f_thunk(i8* %this, ...) { 9 define i8* @f_thunk(i8* %this, ...) {
10 %rv = musttail call i8* (i8*, ...)* @f(i8* %this) 10 %rv = musttail call i8* (i8*, ...) @f(i8* %this)
11 ; CHECK: error: expected '...' at end of argument list for musttail call in varargs function 11 ; CHECK: error: expected '...' at end of argument list for musttail call in varargs function
12 ret i8* %rv 12 ret i8* %rv
13 } 13 }