Mercurial > projects > dstress
view run/array_initialization_07.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 6a663dfca2a5 |
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; }