☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice22516.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/ice22516.d
code
plain
raw
1
/++
2
https://issues.dlang.org/show_bug.cgi?id=22516
3
4
TEST_OUTPUT:
5
---
6
fail_compilation/ice22516.d(18): Error: undefined identifier `X`
7
---
8
+/
9
10
struct Data
11
{
12
void function() eval;
13
14
}
15
16
struct Builtins
17
{
18
X x;
19
20
Data myData = { (){} };
21
}