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