Mercurial > projects > dstress
view run/o/outer_01_E.d @ 1533:ac560364010c
enforce checks for -release builds
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:36:34 +0000 |
parents | 0726ef6a2d54 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.o.outer_01_E; struct A{ class B{ } void test(){ B b = new B(); if(!(b.outer is this)){ assert(0); } } } int main(){ A a; a.test(); return 0; }