view test/structs.d @ 152:e984333d6ac6 trunk

[svn r158] fixed bug with console integer output: buffer was too small
author ChristianK
date Mon, 24 Mar 2008 20:49:21 +0100
parents c53b6e3fe49a
children
line wrap: on
line source

struct S
{
    int func()
    {
        return 42;
    }
}

void main()
{
    S s;
    int i = s.func();
}