view tangotests/debug9.d @ 290:ebaf65fc4726 trunk

[svn r311] Fixed: structs no longer output two static typeinfos. Updated the DtoTypeInfoOf helper a bit after figuring out how it worked.
author lindquist
date Sat, 21 Jun 2008 17:57:36 +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();
}