blob: 4efe24f119073c6bb2b75112b05402e926a0b1e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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();
}
}
|