view test/bug45.d @ 283:9bb48fb57a7d trunk

[svn r304] Fix associative array literals by always reserving a zero inited temporary for them.
author ChristianK
date Sat, 21 Jun 2008 00:54:55 +0200
parents 7299ff502248
children
line wrap: on
line source

module bug45;

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

void main() {
    foo();
}