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
2a31c6236d
old-cross-binutils
/
gdb
/
testsuite
/
gdb.cp
/
pr10728-x.cc
8 lines
77 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
#
include
"pr10728-x.h"
int
main
(
)
{
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
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
return
0
;
// marker 1
}
Reference in a new issue
Copy permalink