aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/pr10728-x.cc
AgeCommit message (Collapse)AuthorFilesLines
2014-04-24Return by value to coax Clang into emitting the full definition of a test type.David Blaikie1-1/+1
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.
2010-02-08PR gdb/10728Chris Moller1-0/+7
* 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