Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gdc.test/fail_compilation/fail19336.d @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
/* 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);