llvm-6502/test/Verifier/byval-2.ll
Duncan Sands 559ad3c2c2 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
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)