Mercurial > projects > dstress
view undefined/class_19_B.d @ 1590:1d1f281a9b11
Move const_11 to compile. Addresses of globals are valid constants.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 25 Aug 2008 22:08:00 +0200 |
parents | 5c568eb016c0 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ dennis luehring <dl.soluz@gmx.net> // @date@ 2005-10-26 // @uri@ news:djo1km$280i$1@digitaldaemon.com module dstress.undefined.class_19_B; class Outer{ this(){ } class Inner{ this(){ } } } int main(){ Outer o = new Outer; Outer.Inner i = new o.Inner(); assert(i); return 0; }