blob: 4c3387e3d4b5869f2989417ea4caccc96396fab5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970
// { dg-do compile }
struct S94970
{
string index() { return null; }
~this() { }
}
static m() { return S94970(); }
auto concat()
{
return m.index ~ ' ';
}
auto newarray()
{
return new int[][](m.index.length, 1);
}
|