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


Test that byval cannot be used with pointers to types with no size.
; RUN: not llvm-as < %s -o /dev/null -f
	%s = type opaque
declare void @h(%s* byval %num)