view tangotests/mem5.d @ 340:351c0077d0b3 trunk

[svn r361] Removed some dead code.
author lindquist
date Sun, 13 Jul 2008 02:04:25 +0200
parents c4c9b4ac021b
children
line wrap: on
line source

module tangotests.mem5;

class SC
{
    int* ip;
    this()
    {
        ip = new int;
    }
    ~this()
    {
        delete ip;
    }
    void check()
    {
        assert(ip !is null);
    }
}

void main()
{
    scope sc = new SC;
    sc.check();
}