llvm-6502/test/Verifier/2008-01-11-VarargAttrs.ll
Duncan Sands cfad1b4f78 Be more liberal in what parameter attributes are
allowed on the vararg arguments of a call.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45909 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-12 16:42:01 +00:00

11 lines
161 B
LLVM

; RUN: not llvm-as < %s -o /dev/null
%struct = type { }
declare void @foo(...)
define void @bar() {
call void (...)* @foo(%struct* sret null )
ret void
}