view tests/mini/forwdecl1.d @ 1027:c061e0725d89

Oops, merge with mainline and actually push this time...
author Frits van Bommel <fvbommel wxs.nl>
date Tue, 03 Mar 2009 09:51:15 +0100
parents a15ccbf7451d
children
line wrap: on
line source

struct Foo;

Foo* foo()
{
    return null;
}

void main()
{
    Foo* f = foo();
    assert(f is null);
}