view test/bug8.d @ 198:17dc52256c58 trunk

[svn r214] test results for [210]
author ChristianK
date Mon, 12 May 2008 20:28:44 +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;
}