gcc/testsuite/gdc.test/compilable/test15785.d
raw| 1 | // REQUIRED_ARGS: -de |
| 2 | // EXTRA_FILES: imports/test15785.d |
| 3 | // PERMUTE_ARGS: |
| 4 | import imports.test15785; |
| 5 | |
| 6 | class Derived : Base, IBase2 |
| 7 | { |
| 8 | override void foo() |
| 9 | { |
| 10 | super.foo(); |
| 11 | bar(); |
| 12 | // Base.bar(); // doesn't work yet due to a bug in checkAccess |
| 13 | faz(); |
| 14 | // IBase2.faz(); // doesn't work yet due to a bug in checkAccess |
| 15 | } |
| 16 | |
| 17 | typeof(super).T t; |
| 18 | } |