llvm-mirror/test/Verifier/byval-2.ll
Duncan Sands c6e42dfda1 Test that byval cannot be used with pointers to
types with no size.

llvm-svn: 45959
2008-01-14 14:55:05 +00:00

4 lines
90 B
LLVM

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