MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail23181.d
blob519244c1cdfab2449efc66accbdad08f6b37cb55
1 /* https://issues.dlang.org/show_bug.cgi?id=23181
2 TEST_OUTPUT:
3 ---
4 $p:druntime/import/core/lifetime.d$($n$): Error: struct `fail23181.fail23181.NoPostblit` is not copyable because it has a disabled postblit
5 $p:druntime/import/core/internal/array/construction.d$($n$): Error: template instance `core.lifetime.copyEmplace!(NoPostblit, NoPostblit)` error instantiating
6 fail_compilation/fail23181.d(15): instantiated from here: `_d_arraysetctor!(NoPostblit[], NoPostblit)`
7 ---
8 */
9 void fail23181()
11 struct NoPostblit
13 @disable this(this);
15 NoPostblit[4] noblit23181 = NoPostblit();