D - Alpha 4.2 bug
- Patrick Down (22/22) Sep 25 2002 The following code causes the compiler to crash.
- Walter (1/1) Sep 25 2002 Thanks, I'll take care of it. -Walter
The following code causes the compiler to crash.
int main(char[][] argv)
{
struct Test
{
int a;
void func(int b)
{
a = b;
}
}
void delegate(int) funDel;
Test foo;
funDel = &foo.func;
funDel(12);
printf("%d\n",foo.a);
return 0;
}
Sep 25 2002








"Walter" <walter digitalmars.com>