Mercurial > projects > ldc
view tests/mini/forwdecl1.d @ 908:6690a1468c17
Apply patch for #193. Thanks fvbommel.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 29 Jan 2009 16:56:48 +0100 |
parents | a15ccbf7451d |
children |
line wrap: on
line source
struct Foo; Foo* foo() { return null; } void main() { Foo* f = foo(); assert(f is null); }