view tests/mini/compile_rawvardeclinfinally.d @ 1582:d8e558087001

Fixed a segfault in ldc2 when compiling synchronized{} blocks.
author Robert Clipsham <robert@octarineparrot.com>
date Sat, 19 Sep 2009 13:05:10 +0100
parents 8baf611f0009
children
line wrap: on
line source

void foo() {
    void delegate()[] bar;
    try {
    } finally {
        foreach (dg; bar)
            dg();
    }
}