MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail4269a.d
blob1ce98065882f1d979e4830c31f3b356f9ace84a1
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail4269a.d(12): Error: undefined identifier `B`
5 fail_compilation/fail4269a.d(12): Error: field `blah` not allowed in interface
6 fail_compilation/fail4269a.d(13): Error: undefined identifier `B`
7 ---
8 */
9 enum bool WWW = is(typeof(A.x));
11 interface A {
12 B blah;
13 void foo(B b){}