]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/diag6699.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / diag6699.d
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag6699.d(8): Error: no property 'x' for type 'int'
5 ---
6 */
7 alias int b6699;
8 alias b6699.x b6699a;
9
10 /*
11 TEST_OUTPUT:
12 ---
13 fail_compilation/diag6699.d(18): Error: undefined identifier `junk1`
14 fail_compilation/diag6699.d(18): Error: undefined identifier `junk2`
15 fail_compilation/diag6699.d(19): Error: undefined identifier `junk3`
16 ---
17 */
18 class X : junk1, junk2 {}
19 interface X2 : junk3 {}