view tangotests/debug9.d @ 277:90a8c798b0db trunk

[svn r298] Eliminated the dmd/link.c source file entirely in favor of a llvm::sys based approach to the same functionality.
author lindquist
date Fri, 20 Jun 2008 22:09:04 +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();
}