view test/fail2.d @ 276:21f85bac0b1a trunk

[svn r297] Fixed: rewrote linker code to use LLVM's Program facilities instead of DMD's oldschool broken "native" approach.
author lindquist
date Fri, 20 Jun 2008 17:45:13 +0200
parents 61615fa85940
children
line wrap: on
line source

module fail2;

void a()
{
    b();
}

void b()
{
    c();
}

void c()
{
    d();
}

void d()
{
    int* ip;
    int i = *ip;
}

void main()
{
    a();
}