d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail4269c.d
blobc12f9b60b2cb0cb57c54db885a420c4efc5c533a
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail4269c.d(11): Error: undefined identifier `B`
5 fail_compilation/fail4269c.d(12): Error: undefined identifier `B`
6 ---
7 */
8 enum bool WWW = is(typeof(A.x));
10 class A {
11 B blah;
12 void foo(B b){}