view tests/mini/forwdecl1.d @ 844:1a8c6eedd7fd

Rename merged runtime to tango-base-ldc, #145.
author Christian Kamm <kamm incasoftware de>
date Fri, 12 Dec 2008 17:10:23 +0100
parents a15ccbf7451d
children
line wrap: on
line source

struct Foo;

Foo* foo()
{
    return null;
}

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