1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
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)