view tangotests/mem5.d @ 226:4145266ff4bd trunk

[svn r242] fixed (I think) arg_pointer inline asm args
author lindquist
date Sat, 07 Jun 2008 19:04:26 +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();
}