2 REQUIRED_ARGS: -Ifail_compilation/imports/
3 EXTRA_FILES: imports/import21508.d
6 fail_compilation/fail21508.d(17): Error: import `fail21508.import21508` is used as a type
11 // import21508 is a private class, code should not compile
12 // The compiler used to "helpfully" look inside the import,
13 // bypassing the shadowing that this introduces.
17 auto c
= new import21508();