view tests/mini/nocompile_initoverlap2.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 b8a51aa44d4c
children
line wrap: on
line source

struct S
{
    union
    {
        float f = 1;
        int i = 2;
    }
}