diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-04-13 00:48:45 -0700 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-04-24 22:15:40 -0700 |
commit | 22842ff63e28b86e0cd40a87186757b2525578f4 (patch) | |
tree | 81c1c4b9caab53cd87840acfb257ede899b45bde /gdb/testsuite/gdb.cp/pr10728-x.h | |
parent | c2e827ad5340fcf1735df6c77cb0311e56b985ef (diff) | |
download | gdb-22842ff63e28b86e0cd40a87186757b2525578f4.zip gdb-22842ff63e28b86e0cd40a87186757b2525578f4.tar.gz gdb-22842ff63e28b86e0cd40a87186757b2525578f4.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.cp/pr10728-x.h')
-rw-r--r-- | gdb/testsuite/gdb.cp/pr10728-x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/pr10728-x.h b/gdb/testsuite/gdb.cp/pr10728-x.h index 63737d9..0ba58bb 100644 --- a/gdb/testsuite/gdb.cp/pr10728-x.h +++ b/gdb/testsuite/gdb.cp/pr10728-x.h @@ -5,5 +5,5 @@ struct X Y* y2; }; -X* y(); +X y(); |