view tangotests/aa1.d @ 228:52d1e9d27dc6 trunk

[svn r244] added another asm test.
author lindquist
date Sat, 07 Jun 2008 19:20:15 +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");
}