mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
12 lines
198 B
D
12 lines
198 B
D
// https://issues.dlang.org/show_bug.cgi?id=21319
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/test21319.d(11): Error: circular reference to `test21319.C.c`
|
|
---
|
|
*/
|
|
|
|
class C
|
|
{
|
|
immutable C c = new C();
|
|
}
|