view tests/mini/nocompile_initoverlap2.d @ 1411:e57859ca8f1e

Fix `scope(exit) foreach (ref v; arr) foo(v);`
author Frits van Bommel <fvbommel wxs.nl>
date Fri, 22 May 2009 21:38:01 +0200
parents b8a51aa44d4c
children
line wrap: on
line source

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