Mercurial > projects > dstress
view run/array_initialization_07.d @ 1517:cf7719e0ef1b
updated to DMD-1.013
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:21:32 +0000 |
parents | b8c0195059d9 |
children | ec5e144583ea |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Andrew Fedoniouk <news@terrainformatica.com> // @date@ 2005-04-12 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3632 module dstress.run.array_initialization_07; typedef int Type = 12; Type[2] var = [0:1]; int main(char[][] args){ assert(var[0] == 1); assert(var[1] == 12); return 0; }