view tests/mini/nocompile_initoverlap2.d @ 1580:b4616536dc04

allow forward referencing, fix #361
author Moritz Warning <moritzwarning@web.de>
date Wed, 09 Sep 2009 20:13:17 +0200
parents b8a51aa44d4c
children
line wrap: on
line source

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