Mercurial > projects > ldc
view tests/mini/forwdecl1.d @ 880:2dfd05525e2e
Fixed bad return types in typinf.cpp
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Fri, 09 Jan 2009 20:08:06 +0100 |
parents | a15ccbf7451d |
children |
line wrap: on
line source
struct Foo; Foo* foo() { return null; } void main() { Foo* f = foo(); assert(f is null); }