blob: 14abbfd346ff056fcb4ea7abb73515afac360d3c [file] [log] [blame]
/**
TEST_OUTPUT:
---
fail_compilation/fail18057b.d(12): Error: variable `fail18057b.Recursive.field` recursive initialization of field
---
*/
// https://issues.dlang.org/show_bug.cgi?id=18057
// Recursive field initializer causes segfault.
struct Recursive
{
int field = Recursive();
}