aboutsummaryrefslogtreecommitdiff
path: root/test/Verifier
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-27 14:48:06 +0000
committerDan Gohman <gohman@apple.com>2008-08-27 14:48:06 +0000
commit39dfc2cb9c1fb53c8699cff033f6fa6c5b618e95 (patch)
tree63dbebce13a05b0d521f903d94153b872b1efc30 /test/Verifier
parent9f50eeea8c561dd9410846ef09315acc75b55b9b (diff)
Diagnose uses of unsized types with the byval attribute in the
verifier. See PR2711 for details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55414 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Verifier')
-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)