dmd/compiler/test/fail_compilation/ice24188.d
SixthDot c738088800
fix issue 24188 - ICE with missing imported symbol (#15693)
The aliases created for the selections of an import were not invalidated
2023-10-16 08:20:17 +08:00

14 lines
339 B
D

/*
REQUIRED_ARGS: fail_compilation/ice24188_a/ice24188_c.d
TEST_OUTPUT:
---
fail_compilation/ice24188.d(9): Error: module `ice24188_c` from file fail_compilation/ice24188_a/ice24188_c.d must be imported with 'import ice24188_c;'
---
*/
auto b() {
import fail_compilation.ice24188_a.ice24188_c : D;
struct A {
D e;
}
}