blob: 84b222d712d376efa5187afe8906246488779379 [file] [log] [blame]
#include "pr10728-x.h"
struct Y{};
X* y()
{
static X xx;
static Y yy;
xx.y1 = &yy;
xx.y2 = xx.y1+1;
return &xx;
}