Mercurial > projects > ldc
view tangotests/aa1.d @ 266:5d2f4814bb2e trunk
[svn r287] update to test statistics generation
author | ChristianK |
---|---|
date | Sun, 15 Jun 2008 12:58:48 +0200 |
parents | a8cd9bc1021a |
children |
line wrap: on
line source
module tangotests.aa1; extern(C) int printf(char*,...); void main() { int[int] map; map[1] = 1; map[10] = 1; map[11] = 11; map[14] = 41; map[21] = 12; map[23] = 32; map[32] = 23; map[201] = 102; foreach(k,v; map) { printf("%d:%d ", k,v); } printf("\n"); }