This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
ae01dc73af
llvm-project
/
llvm
/
test
/
Verifier
/
byval-2.ll
5 lines
96 B
LLVM
Raw
Normal View
History
Unescape
Escape
Diagnose uses of unsized types with the byval attribute in the verifier. See PR2711 for details. llvm-svn: 55414
2008-08-27 22:48:06 +08:00
; RUN: not llvm-as < %s >& /dev/null
; PR2711
Test that byval cannot be used with pointers to types with no size. llvm-svn: 45959
2008-01-14 22:55:05 +08:00
%s
=
type
opaque
declare
void
@h
(
%s
*
byval
%num
)