mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
11 lines
164 B
D
11 lines
164 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail309.d(10): Error: circular reference to variable `fail309.S.x`
|
|
---
|
|
*/
|
|
// REQUIRED_ARGS: -d
|
|
struct S
|
|
{
|
|
const x = S.x;
|
|
}
|