Test that byval cannot be used with pointers to

types with no size.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45959 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2008-01-14 14:55:05 +00:00
parent d6a844cda8
commit 559ad3c2c2

View File

@ -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)