aboutsummaryrefslogtreecommitdiff
path: root/test/Verifier
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
commitcfad1b4f783bfafaeb102e3358594dc23940a490 (patch)
treee7f475181d96a43ed29fbd583457a2c71583449f /test/Verifier
parent120d053e3ba810b44047fbcb719824bed5673ca9 (diff)
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/Verifier')
-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 1f4c9c72b4..e8e9c41c6d 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
}