Mercurial > projects > dstress
view undefined/class_19_A.d @ 1594:c970971fb408
Remove nocompile/a/arrayOp_01: since array ops are now supported,
it is no longer valid and needs to be replaced by a set of array op tests.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 28 Aug 2008 17:33:00 +0200 |
parents | 5c568eb016c0 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> // @date@ 2005-10-14 // @uri@ news:dionmt$afm$1@digitaldaemon.com module dstress.undefined.class_19_A; class Outer{ this(){ } class Inner{ this(){ } Inner foo(){ return new Inner(); } } Inner dummy(){ Inner i = new Inner; return i.foo(); } } int main(){ Outer o = new Outer(); Outer.Inner i = o.dummy(); assert(i); return 0; }