[llvm-commits] [llvm] r45959 - /llvm/trunk/test/Verifier/byval-2.ll
Duncan Sands
baldrick at free.fr
Mon Jan 14 06:55:18 PST 2008
Author: baldrick
Date: Mon Jan 14 08:55:05 2008
New Revision: 45959
URL: http://llvm.org/viewvc/llvm-project?rev=45959&view=rev
Log:
Test that byval cannot be used with pointers to
types with no size.
Modified:
llvm/trunk/test/Verifier/byval-2.ll
Modified: llvm/trunk/test/Verifier/byval-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Verifier/byval-2.ll?rev=45959&r1=45958&r2=45959&view=diff
==============================================================================
--- llvm/trunk/test/Verifier/byval-2.ll (original)
+++ llvm/trunk/test/Verifier/byval-2.ll Mon Jan 14 08:55:05 2008
@@ -1,2 +1,3 @@
; RUN: not llvm-as < %s -o /dev/null -f
-declare void @h(i32* %num) byval
+ %s = type opaque
+declare void @h(%s* byval %num)
More information about the llvm-commits
mailing list