view tests/mini/forwdecl1.d @ 1462:f0423003caa6

Merge a fix from the D1 frontend to the D2 frontend.
author Frits van Bommel <fvbommel wxs.nl>
date Tue, 02 Jun 2009 20:28:53 +0200
parents a15ccbf7451d
children
line wrap: on
line source

struct Foo;

Foo* foo()
{
    return null;
}

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