llvm-6502/test/Verifier/byval-2.ll
Dan Gohman 39dfc2cb9c Diagnose uses of unsized types with the byval attribute in the
verifier. See PR2711 for details.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55414 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-27 14:48:06 +00:00

5 lines
96 B
LLVM

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