Mercurial > projects > dstress
changeset 471:39eb3d2a70ed
scope visibility
Manfred Nowak <svv1999@hotmail.com>
2005-04-22
news:d4apqu$2bo2$1@digitaldaemon.com
author | thomask |
---|---|
date | Sat, 23 Apr 2005 06:41:43 +0000 |
parents | eeb9e6a78c3d |
children | 31cca2b25cf6 |
files | nocompile/scope_02.d |
diffstat | 1 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/scope_02.d Sat Apr 23 06:41:43 2005 +0000 @@ -0,0 +1,23 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Manfred Nowak <svv1999@hotmail.com> +// @date@ 2005-04-22 +// @uri@ news:d4apqu$2bo2$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 19 + +module dstress.nocompile.scope_02; + +class C{ + void f(){ + } + + struct S{ + void bug(){ + f(); + } + } +} +