This website requires JavaScript.
Explore
Help
Register
Sign in
darkkirb
/
old-cross-binutils
Watch
1
Star
0
Fork
You've already forked old-cross-binutils
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
a25d8bf9c5
old-cross-binutils
/
gdb
/
testsuite
/
gdb.cp
/
pr10728-x.h
10 lines
51 B
C
Raw
Normal View
History
Unescape
Escape
PR gdb/10728 * valarith.c (value_ptrdiff): Added a test for a zero type length, warn if found, and assume length = 1. * gdb.cp/pr10728-x.h: New file. * gdb.cp/pr10728-x.cc: New file. * gdb.cp/pr10728-y.cc: New file. * gdb.cp/pr10728.exp: New file. * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
2010-02-08 18:27:53 +00:00
struct
Y
;
struct
X
{
Y
*
y1
;
Y
*
y2
;
}
;
Return by value to coax Clang into emitting the full definition of a test type. gdb/testsuite/ * gdb.cp/pr10728-x.cc: Return by value instead of pointer to coax Clang into emitting the definition of the type. * gdb.cp/pr10728-x.h: Ditto. * gdb.cp/pr10728-y.cc: Ditto.
2014-04-13 07:48:45 +00:00
X
y
(
)
;
PR gdb/10728 * valarith.c (value_ptrdiff): Added a test for a zero type length, warn if found, and assume length = 1. * gdb.cp/pr10728-x.h: New file. * gdb.cp/pr10728-x.cc: New file. * gdb.cp/pr10728-y.cc: New file. * gdb.cp/pr10728.exp: New file. * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
2010-02-08 18:27:53 +00:00
Reference in a new issue
Copy permalink