Mercurial > projects > dstress
view nocompile/o/opCmp_08_D.d @ 1122:1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
Lionello Lunesu <lio@lunesu.com>
2006-07-20
news:bug-259-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Sat, 26 Aug 2006 11:05:24 +0000 |
parents | |
children | daef239f37cf |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Lionello Lunesu <lio@lunesu.com> // @date@ 2006-07-20 // @uri@ news:bug-259-3@http.d.puremagic.com/issues/ // @desc@ [Issue 259] New: Comparing signed to unsigned does not generate an error // __DSTRESS_ELINE__ 18 module dstress.nocompile.o.opCmp_08_D; void foo(){ int a = 1; uint b = 1; if(a <= b){ a++; } }