MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice23097.d
blob90cf03f1b48d7da94b017d1d9c696162ee05764e
1 /* https://issues.dlang.org/show_bug.cgi?id=23097
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice23097.d(12): Error: undefined identifier `ICE`
5 fail_compilation/ice23097.d(27): Error: template instance `ice23097.ice23097!(S23097)` error instantiating
6 fail_compilation/ice23097.d(27): Error: function `ice23097.ice23097!(S23097).ice23097(S23097 __param_0)` is not callable using argument types `(S23097)`
7 fail_compilation/ice23097.d(27): generating a copy constructor for `struct S23097` failed, therefore instances of it are uncopyable
8 ---
9 */
10 auto ice23097(I)(I)
12 ICE;
15 struct Cpctor23097
17 this(ref typeof(this)) { }
20 struct S23097
22 Cpctor23097 cpctor;
25 auto fail23097(S23097 s)
27 s.ice23097;