aboutsummaryrefslogtreecommitdiff
path: root/test/Verifier/byval-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Verifier/byval-2.ll')
-rw-r--r--test/Verifier/byval-2.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Verifier/byval-2.ll b/test/Verifier/byval-2.ll
index d7bfedfcd6..1d03715bc3 100644
--- a/test/Verifier/byval-2.ll
+++ b/test/Verifier/byval-2.ll
@@ -1,3 +1,4 @@
-; RUN: llvm-as %s -o /dev/null -f
+; RUN: not llvm-as < %s >& /dev/null
+; PR2711
%s = type opaque
declare void @h(%s* byval %num)