mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
23 lines
234 B
D
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;
|
|
}
|