; RUN: not llvm-as < %s -o /dev/null -f
declare void @h(i32* %num) byval

; RUN: not llvm-as < %s -o /dev/null -f
	%s = type opaque
declare void @h(%s* byval %num)

Test that byval cannot be used with pointers to types with no size.
Test that byval cannot be used with pointers to
types with no size.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@45959 91177308-0d34-0410-b5e6-96231b3b80d8
