view tests/mini/forwdecl1.d @ 1157:ee8db0b7bb62

Fix path to llvmasm.di in runtime CMakeList
author Christian Kamm <kamm incasoftware de>
date Sat, 28 Mar 2009 10:50:44 +0100
parents a15ccbf7451d
children
line wrap: on
line source

struct Foo;

Foo* foo()
{
    return null;
}

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