dmd/compiler/test/runnable/test3574a.d
2022-07-09 18:53:07 +02:00

13 lines
134 B
D

int g = 0;
static ~this() { assert(g == 100); }
void main()
out
{
g = 100;
}
do
{
return;
// expected return code == 0
}