view tangotests/nested1.d @ 322:1aaf6ff7f685 trunk

[svn r343] Move object.di used for running dstress into separate directory.
author ChristianK
date Wed, 09 Jul 2008 17:02:55 +0200
parents 2e652b8ad1fd
children
line wrap: on
line source

module tangotests.nested1;

void main()
{
    int i = 42;
    assert(i == 42);
    void func()
    {
        assert(i == 42);
    }
    func();
}