Mercurial > projects > dstress
view run/o/outer_01_D.d @ 1535:20d8ee6523e1
updated to DMD-1.013
author | thomask |
---|---|
date | Mon, 07 May 2007 05:19:57 +0000 |
parents | 0726ef6a2d54 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.o.outer_01_D; class A{ class B{ } void test(){ B b = new B(); if(!(b.outer is this)){ assert(0); } } } int main(){ A a = new A(); a.test(); return 0; }