Files
ldc/test/bug45.d

12 lines
119 B
D

module bug45;
void foo() {
int bar;
scope(exit) { bar++; }
if (bar) return;
}
void main() {
foo();
}