| 1 |
// EXTRA_FILES: imports/test15785.d |
| 2 |
/* |
| 3 |
TEST_OUTPUT: |
| 4 |
--- |
| 5 |
fail_compilation/test15785b.d(14): Error: `imports.test15785.Base.T` is not visible from module `test15785b` |
| 6 |
fail_compilation/test15785b.d(15): Error: `imports.test15785.Base.T` is not visible from module `test15785b` |
| 7 |
fail_compilation/test15785b.d(16): Error: `imports.test15785.IBase2.T` is not visible from module `test15785b` |
| 8 |
--- |
| 9 |
*/ |
| 10 |
import imports.test15785; |
| 11 |
|
| 12 |
class Derived : Base, IBase2 |
| 13 |
{ |
| 14 |
typeof(super).T t; |
| 15 |
Base.T t2; |
| 16 |
IBase2.T t3; |
| 17 |
} |