mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
24 lines
343 B
D
24 lines
343 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/ice14146.d(15): Error: constructor `ice14146.Array.this` default constructor for structs only allowed with `@disable`, no body, and no parameters
|
|
---
|
|
*/
|
|
|
|
struct RangeT(A)
|
|
{
|
|
A[1] XXXouter;
|
|
}
|
|
|
|
struct Array
|
|
{
|
|
this()
|
|
{
|
|
}
|
|
|
|
alias Range = RangeT!Array;
|
|
|
|
bool opEquals(Array)
|
|
{
|
|
}
|
|
}
|