MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test12228.d
blobd96b2a522d935a3e795433765a0b9267f86bffe4
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/test12228.d(12): Error: undefined identifier `this`, did you mean `typeof(this)`?
5 fail_compilation/test12228.d(18): Error: undefined identifier `super`, did you mean `typeof(super)`?
6 fail_compilation/test12228.d(19): Error: undefined identifier `super`, did you mean `typeof(super)`?
7 ---
8 */
10 class C
12 shared(this) x;
15 class D : C
17 alias x = typeof(super).x;
18 shared(super) a;
19 super b;