Retro68/gcc/libphobos/testsuite/libphobos.init_fini/runtime_args.d
Wolfgang Thaller 6fbf4226da gcc-9.1
2019-06-20 20:10:10 +02:00

14 lines
254 B
D

// Bugzilla 11149 - Runtime.args no longer available in static constructors
import core.runtime;
shared static this()
{
assert(Runtime.cArgs.argc > 0);
assert(Runtime.cArgs.argv !is null);
assert(Runtime.args.length > 0);
}
void main()
{
}