view tangotests/volatile1.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 cd2c9f4010e4
children
line wrap: on
line source

module tangotests.volatile1;

import tango.stdc.stdlib;

void main()
{
    int var = rand();
    {
        int i = var;
        volatile;
        int j = i;
    }
}