☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.dg
/
pr96924.d
☽
☼
gcc/testsuite/gdc.dg/pr96924.d
code
plain
raw
1
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96924
2
// { dg-do compile }
3
4
struct Memo
5
{
6
string source;
7
this(this);
8
}
9
10
void compile(string src, size_t end)
11
{
12
Memo[] stack;
13
stack ~= Memo(src[end .. $]);
14
}