mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-13 00:11:56 +00:00
![Duncan Sands](/assets/img/avatar_default.png)
parameter, even if it is a varargs function. Do allow attributes on the varargs part of a call, but not beyond the last argument. Only allow selected attributes to be on the varargs part of a call (currently only 'byval' is allowed). The reasoning here is that most attributes, eg inreg, simply make no sense here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45887 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
149 B
LLVM
11 lines
149 B
LLVM
; RUN: not llvm-as < %s
|
|
|
|
%struct = type { }
|
|
|
|
declare void @foo(...)
|
|
|
|
define void @bar() {
|
|
call void (...)* @foo(%struct* inreg null )
|
|
ret void
|
|
}
|