view tangotests/mem6.d @ 297:5de180867c46 trunk

[svn r318] Moved the call to DtoBoolean before the not instruction. Fixes array_initialization_17_A.
author ChristianK
date Mon, 23 Jun 2008 19:19:37 +0200
parents 4c2689d57ba4
children
line wrap: on
line source

module tangotests.mem6;

extern(C) int printf(char*,...);

int main(){
        int[] index;
        char[] value;

        foreach(int i, char c; "_\U00012345-"){
                printf("str[%d] = %d\n", i , cast(int)c);
                index ~= i;
                //value ~= c;
        }
        printf("done\n");

        return 0;
}