view tests/mini/bug44.d @ 765:f08e0ff8d28c

Fixed 32bit assumption in statement.c when calling aaApply(2).
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 12 Nov 2008 07:41:56 +0100
parents 44f08170f4ef
children
line wrap: on
line source

module bug44;

struct rgb
{
    long l;
}

void foo()
{
}

rgb test() {
  scope(exit) foo();
  return rgb();
}

void main()
{
    rgb r = test();
}