dmd/compiler/test/fail_compilation/fail42.d
2022-07-09 18:53:07 +02:00

23 lines
234 B
D

/*
TEST_OUTPUT:
---
fail_compilation/fail42.d(22): Error: struct `fail42.Qwert` no size because of forward reference
---
*/
/+
struct Qwert
{
Qwert asdfg;
}
+/
struct Qwert
{
Yuiop asdfg;
}
struct Yuiop
{
Qwert hjkl;
}