Mercurial > projects > dstress
view compile/o/outer_02_A.d @ 1586:a74f0139fc3d
Fix tests using typeof on types.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 21 Aug 2008 15:42:21 +0200 |
parents | 902d2c168029 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Tyler Knott <tknott@gmail.com> // @date@ 2007-01-22 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=872 // @desc@ [Issue 872] Assertion in expression.c caused by taking typeof of "this.outer" in nested classes. module dstress.compile.o.outer_02_A; class Outer{ class Inner{ this() { typeof(this.outer) x; static assert(is(typeof(x) == Outer)); } } }