mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
22842ff63e
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.
10 lines
51 B
C
10 lines
51 B
C
struct Y;
|
|
struct X
|
|
{
|
|
Y* y1;
|
|
Y* y2;
|
|
};
|
|
|
|
X y();
|
|
|