mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
21 lines
244 B
D
21 lines
244 B
D
/++
|
|
https://issues.dlang.org/show_bug.cgi?id=22516
|
|
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/ice22516.d(18): Error: undefined identifier `X`
|
|
---
|
|
+/
|
|
|
|
struct Data
|
|
{
|
|
void function() eval;
|
|
|
|
}
|
|
|
|
struct Builtins
|
|
{
|
|
X x;
|
|
|
|
Data myData = { (){} };
|
|
}
|