view tangotests/aa1.d @ 163:a8cd9bc1021a trunk

[svn r179] lots and lots of fixes, much more of tango now compiles/works.
author lindquist
date Mon, 05 May 2008 07:36:29 +0200
parents
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");
}