Mercurial > projects > dstress
view compile/m/mixin_32_B.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 | 4819809e4b82 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ <onlystupidspamhere@yahoo.se> // @date@ 2007-04-16 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1154 // @desc@ [Issue 1154] Implicit template return value + mixin results in invalid type deduction module dstress.compile.m.mixin_32_B; template foo() { mixin("alias int foo;"); } foo!() bar; static assert(is(typeof(bar) == int));