mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
13 lines
222 B
D
13 lines
222 B
D
// EXTRA_SOURCES: imports/test16348.d
|
|
module mypackage.foo;
|
|
|
|
void bug()
|
|
{
|
|
// removing the if-else also removes the segfault
|
|
if (true) {}
|
|
else
|
|
{
|
|
import mypackage.bar;
|
|
auto b = bar();
|
|
}
|
|
}
|