blob: 625adf2cb21ffc1e45e5dc8360d00168804736af [file] [log] [blame]
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; Check that the ellipsis round trips.
%struct.A = type { i32 }
declare ptr @f(ptr, ...)
define ptr @f_thunk(ptr %this, ...) {
%rv = musttail call ptr (ptr, ...) @f(ptr %this, ...)
ret ptr %rv
}
; CHECK-LABEL: define ptr @f_thunk(ptr %this, ...)
; CHECK: %rv = musttail call ptr (ptr, ...) @f(ptr %this, ...)