(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
runnable/
inline14560.d
// PERMUTE_ARGS: -inline -release -g -O

auto serialize(T)(T value)
{
    foreach (i; value) { }

    return;     // important
    // By this ReturnStatement with NULL exp wrongly appears in the
    // expanded result of serialize(["test"]) call in main(), it will
    // return from main() without setting exit code.
}

int main()
{
    serialize(["test"]);
    return 0;
}