view test/bug8.d @ 266:5d2f4814bb2e trunk

[svn r287] update to test statistics generation
author ChristianK
date Sun, 15 Jun 2008 12:58:48 +0200
parents 8b0e809563df
children
line wrap: on
line source

module bug8;

void main()
{
    s = newS();
}

S* s;

struct S
{
    int i;
}

S* newS()
{
    auto tmp = new S;
    tmp.i = 4;
    return tmp;
}