MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail276.d
blobb5a99a9b9807769eee2a1aaa4e0eaf46ec58c2a0
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail276.d(19): Error: `this` has no effect
5 fail_compilation/fail276.d(15): Error: cannot construct anonymous nested class because no implicit `this` reference to outer class is available
6 ---
7 */
9 class C
11 this()
13 auto i = new class()
15 auto k = new class()
17 void func()
19 this.outer.outer;
24 int i;
26 void main() {}