view tangotests/volatile1.d @ 308:6b62e8cdf970 trunk

[svn r329] Cleaned up a bunch of array code for handling special slice cases no longer relevant.
author lindquist
date Sat, 28 Jun 2008 05:57:16 +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;
    }
}