blob: 25d9a566fbee461166bed0bba89279da4f78a703 [file] [log] [blame]
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96924
// { dg-do compile }
struct Memo
{
string source;
this(this);
}
void compile(string src, size_t end)
{
Memo[] stack;
stack ~= Memo(src[end .. $]);
}