view tangotests/volatile1.d @ 206:cd2c9f4010e4 trunk

[svn r222] Forgot to remove volatile ATTENTION. Fixed a few comment types. Forgot to add makefile for the basic GC.
author lindquist
date Tue, 13 May 2008 18:07:03 +0200
parents
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;
    }
}