binutils-gdb/gdb/testsuite/gdb.cp/pr10728-x.h
David Blaikie 22842ff63e 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-24 22:15:40 -07:00

10 lines
51 B
C

struct Y;
struct X
{
Y* y1;
Y* y2;
};
X y();