ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gdc.test/runnable/test11863.d

12 lines
218 B
D

// COMPILE_SEPARATELY
// EXTRA_SOURCES: imports/std11863conv.d
// EXTRA_FILES: imports/std11863format.d
import imports.std11863conv;
void main()
{
auto s = to!string(15, 10);
assert(s == "15"); // failure
}