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.
7 lines
77 B
C++
7 lines
77 B
C++
#include "pr10728-x.h"
|
|
|
|
int main()
|
|
{
|
|
X x = y();
|
|
return 0; // marker 1
|
|
}
|