(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
runnable/
imports/
std15021format.d
module imports.std15021format;

T enforceEx(T)(T value, lazy string msg = "")
{
    if (!value) throw new Exception(msg);
    return value;
}

void enforceValidFormatSpec(T, Char)(int spec)
{
    enforceEx(spec == 's');
}