view tests/mini/nocompile_initoverlap2.d @ 1332:de7fad0ad243

Added testcase for #288 .
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sun, 10 May 2009 14:37:30 +0200
parents b8a51aa44d4c
children
line wrap: on
line source

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