view tests/mini/bug44.d @ 852:c1aeb2d0b559

Missed line when removing env sanitizing.
author Christian Kamm <kamm incasoftware de>
date Sun, 14 Dec 2008 16:39:27 +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();
}