mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
17 lines
401 B
D
17 lines
401 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail19336.d(14): Error: template instance `Template!()` template `Template` is not defined
|
|
fail_compilation/fail19336.d(14): Error: circular reference to `fail19336.Foo.a`
|
|
fail_compilation/fail19336.d(17): Error: circular reference to `fail19336.b`
|
|
---
|
|
*/
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=19336
|
|
|
|
struct Foo
|
|
{
|
|
Template!() a(a.x);
|
|
}
|
|
|
|
int b(b.x);
|