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

llvm-svn: 45909
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
}