Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test16348.d
blob: 4efe24f119073c6bb2b75112b05402e926a0b1e9 [
file
] [
log
] [
blame
]
// 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
();
}
}