view test/structs5.d @ 294:94435b0ab2dd trunk

[svn r315] Build full const initializer for static arrays in DtoConstInitializer if necessary.
author ChristianK
date Sun, 22 Jun 2008 21:36:07 +0200
parents 12fd8ce55d9c
children
line wrap: on
line source

module structs5;

void main()
{
    {S s = S();}
    {T t = T(1);}
    {U u = U();}
}

struct S
{
}

struct T
{
    int i;
}

struct U
{
    S s;
    long l;
}