view tangotests/debug9.d @ 262:88252a1af660 trunk

[svn r280] Fixed a bunch of issues with switch statements. Ended up a bit far reaching...
author lindquist
date Sat, 14 Jun 2008 05:13:49 +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();
}