view test/structs2.d @ 328:7086a84ab3d6 trunk

[svn r349] Fixed problems with static arrays of void as well as a static arrays with zero length. Fixed issues with DMD generated assert statements when using class invariants, generally due to incomplete ASTs. Removed some dead code. Added a few comments.
author lindquist
date Fri, 11 Jul 2008 00:17:00 +0200
parents c53b6e3fe49a
children
line wrap: on
line source

module structs2;

struct S
{
    int i;
    char c;
    S* s;
    char[4] ca;
}

void main()
{
}