1 /*
2 REQUIRED_ARGS: -de
3 TEST_OUTPUT:
4 ---
5 fail_compilation/fail313.d(18): Deprecation: module imports.b313 is not accessible here, perhaps add 'static import imports.b313;'
6 fail_compilation/fail313.d(25): Deprecation: imports.a313.core is not visible from module test313
7 fail_compilation/fail313.d(25): Deprecation: package core.stdc is not accessible here
8 fail_compilation/fail313.d(25): Deprecation: module core.stdc.stdio is not accessible here, perhaps add 'static import core.stdc.stdio;'
9 fail_compilation/fail313.d(30): Deprecation: package imports.pkg313 is not accessible here, perhaps add 'static import imports.pkg313;'
10 ---
11 */
12 module test313;
13 
14 import imports.a313;
15 
test1()16 void test1()
17 {
18     imports.b313.bug();
19     import imports.b313;
20     imports.b313.bug();
21 }
22 
test2()23 void test2()
24 {
25     core.stdc.stdio.printf("");
26 }
27 
test2()28 void test2()
29 {
30     imports.pkg313.bug();
31 }
32