view tangotests/volatile1.d @ 221:68687d8c3e9a trunk

[svn r237] some inline asm output now seems to work, see tangotests/asm2.d
author lindquist
date Fri, 06 Jun 2008 20:51:43 +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;
    }
}