]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/test314.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test314.d
1 /*
2 REQUIRED_ARGS: -de
3 TEST_OUTPUT:
4 ---
5 fail_compilation/test314.d(19): Deprecation: imports.a314.renamed is not visible from module test314
6 fail_compilation/test314.d(20): Deprecation: imports.a314.bug is not visible from module test314
7 fail_compilation/test314.d(22): Deprecation: imports.b314.renamedpkg is not visible from module test314
8 fail_compilation/test314.d(23): Deprecation: imports.b314.bugpkg is not visible from module test314
9 ---
10 */
11
12 module test314;
13
14 import imports.a314;
15 import imports.b314;
16
17 void main()
18 {
19 renamed.bug("This should not work.\n");
20 bug("This should not work.\n");
21
22 renamedpkg.bug("This should not work.\n");
23 bugpkg("This should not work.\n");
24 }