Mercurial > projects > dstress
view run/o/opSub_07_B.d @ 1533:ac560364010c
enforce checks for -release builds
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:36:34 +0000 |
parents | b8c0195059d9 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Don Clugston <dac@nospam.com.au> // @date@ 2005-11-08 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5360 module dstress.run.o.opSub_07_B; int main(){ const ifloat a = 1.0i; const ifloat b = 3.0i; static assert(a - b == -2.0i); return 0; }