Return by value to coax Clang into emitting the full definition of a test type.
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 13 Apr 2014 07:48:45 +0000 (00:48 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 25 Apr 2014 05:15:40 +0000 (22:15 -0700)
commit22842ff63e28b86e0cd40a87186757b2525578f4
tree81c1c4b9caab53cd87840acfb257ede899b45bde
parentc2e827ad5340fcf1735df6c77cb0311e56b985ef
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.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/pr10728-x.cc
gdb/testsuite/gdb.cp/pr10728-x.h
gdb/testsuite/gdb.cp/pr10728-y.cc