/* | |
TEST_OUTPUT: | |
--- | |
fail_compilation/ice11919.d(17): Error: cannot interpret foo at compile time | |
fail_compilation/imports/a11919.d(4): Error: template instance a11919.doBar!(Foo).doBar.zoo!(t) error instantiating | |
fail_compilation/imports/a11919.d(11): instantiated from here: doBar!(Foo) | |
fail_compilation/ice11919.d(25): instantiated from here: doBar!(Bar) | |
--- | |
*/ | |
import imports.a11919; | |
enum foo; | |
class Foo | |
{ | |
@foo bool _foo; | |
} | |
class Bar : Foo {} | |
void main() | |
{ | |
auto bar = new Bar(); | |
bar.doBar; | |
} |