This website requires JavaScript.
Explore
Help
Register
Sign In
RPCSX
/
llvm
Watch
1
Star
0
Fork
0
You've already forked llvm
mirror of
https://github.com/RPCSX/llvm.git
synced
2024-12-21 11:38:28 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
85de1e5bad
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. 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
; RUN: not llvm-as < %s >& /dev/null
; PR2711
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
%s
=
type
opaque
declare
void
@h
(
%s
*
byval
%num
)
Reference in New Issue
Copy Permalink