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

llvm-svn: 55414
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)