1 // PERMUTE_ARGS:
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/test15785.d(17): Deprecation: imports.test15785.Base.foo is not visible from module test15785
6 fail_compilation/test15785.d(17): Error: class test15785.Derived member `foo` is not accessible
7 fail_compilation/test15785.d(18): Deprecation: imports.test15785.Base.bar is not visible from module test15785
8 fail_compilation/test15785.d(18): Error: class test15785.Derived member `bar` is not accessible
9 ---
10 */
11 import imports.test15785;
12 
13 class Derived : Base
14 {
test()15     void test()
16     {
17         super.foo();
18         bar();
19     }
20 }
21