view tests/mini/forwdecl1.d @ 685:8d7e58801c82

Adjust build-tango.sh for ldc.
author Christian Kamm <kamm incasoftware de>
date Sun, 12 Oct 2008 11:23:27 +0200
parents a15ccbf7451d
children
line wrap: on
line source

struct Foo;

Foo* foo()
{
    return null;
}

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