Mercurial > projects > dstress
view run/const_17.d @ 481:e979fee5a2cd
mixin / const int
no@where.com
2005-04-24
news:d4f0uf$2rif$1@digitaldaemon.com
author | thomask |
---|---|
date | Mon, 25 Apr 2005 05:55:52 +0000 |
parents | |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $URL$ module dstress.run.const_17; const int c = b * 2; const int a = 1; const int b = a * 3; int main(){ assert(a==1); assert(b==3); assert(c==6); return 0; }