Mercurial > projects > dstress
view compile/e/enum_48_B.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | daef239f37cf |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Stewart Gordon <smjg@iname.com> // @date@ 2006-09-15 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=349 // @desc@ [Issue 349] New: Function matching with enums is erratic module dstress.compile.e.enum_48_B; enum E : uint{ A = 1 } template T(uint a){ const uint T = a + 1; } template T(E e){ const E T = e; } static assert(T!(1u) == 2);