view tangotests/debug9.d @ 298:3b8ada4c9f8b trunk

[svn r319] Call substatement->toIR in LabelStatement::toIR even when the label is inside an asm block.
author ChristianK
date Tue, 24 Jun 2008 17:24:55 +0200
parents 8187884566fa
children
line wrap: on
line source

module tangotests.debug9;

struct Foo
{
    int a,b,c;

    void func()
    {
        int* fail;
        *fail = 0;
    }
}

void main()
{
    Foo foo = Foo(1,10,73);
    foo.func();
}