Mercurial > projects > dstress
view undefined/abstract_03.d @ 1618:87a6ab8f478d
Returns of non-void expressions are no longer valid in void functions.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:48:11 +0100 |
parents | 66f476bc8963 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Stewart Gordon <Steward_member@pathlink.com> // @date@ 2004-09-24 // @uri@ news:cj0qf6$2u2v$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/1940 module dstress.compile.abstract_03; int status; abstract interface MyInterface{ abstract int test() out{ status++; }; }