Mercurial > projects > dstress
view run/o/opCmp_09_D.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | eac3a538961a |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Chris Sauls <ibisbasenji@gmail.com> // @date@ 2006-12-30 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=772 // @desc@ [Issue 772] Bogus error using relation operator as static if expression within template module dstress.run.o.opCmp_09_D; template Templ (ulong n) { static if (n < 10_LU) { const Templ = 9.8; } } int main(char[][] args){ const long l = 4; auto a = Templ!(l); return 0; }