view tests/mini/forwdecl1.d @ 790:e6fe47d46783

Updated tango patch, the object.di changes are now in tango trunk
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Thu, 27 Nov 2008 02:16:55 +0100
parents a15ccbf7451d
children
line wrap: on
line source

struct Foo;

Foo* foo()
{
    return null;
}

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