mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
15 lines
177 B
D
15 lines
177 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail75.d(13): Error: cannot append type `fail75.C` to type `C[1]`
|
|
---
|
|
*/
|
|
|
|
class C
|
|
{
|
|
C[1] c;
|
|
this()
|
|
{
|
|
c ~= this;
|
|
}
|
|
}
|