aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-01-12 16:42:01 +0000
committerDuncan Sands <baldrick@free.fr>2008-01-12 16:42:01 +0000
commitb41773f9cabcedc9ea64ff6093030dee6de45bfb (patch)
treee7f475181d96a43ed29fbd583457a2c71583449f /test
parent758296df4ac666c9fe3c47fadf3545c2df26d8a1 (diff)
downloadexternal_llvm-b41773f9cabcedc9ea64ff6093030dee6de45bfb.zip
external_llvm-b41773f9cabcedc9ea64ff6093030dee6de45bfb.tar.gz
external_llvm-b41773f9cabcedc9ea64ff6093030dee6de45bfb.tar.bz2
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
Diffstat (limited to 'test')
-rw-r--r--test/Verifier/2008-01-11-VarargAttrs.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Verifier/2008-01-11-VarargAttrs.ll b/test/Verifier/2008-01-11-VarargAttrs.ll
index 1f4c9c7..e8e9c41 100644
--- a/test/Verifier/2008-01-11-VarargAttrs.ll
+++ b/test/Verifier/2008-01-11-VarargAttrs.ll
@@ -1,10 +1,10 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s -o /dev/null
%struct = type { }
declare void @foo(...)
define void @bar() {
- call void (...)* @foo(%struct* inreg null )
+ call void (...)* @foo(%struct* sret null )
ret void
}