MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail18994.d
blob14935a726716db55c909efeb14bb4e0eb53e6268
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail18994.d(19): Error: struct `fail18994.Type1` is not copyable because it has a disabled postblit
5 ---
6 */
7 struct Type2
9 int opApply(int delegate(ref Type1)) { return 0; }
12 struct Type1
14 @disable this(this);
17 void test()
19 foreach(b; Type2()) {}