view tests/mini/bug44.d @ 1201:14a30bada44f

Remove unnecessary GCC_EXE CMake flag. Closes #208, thanks impulze.
author Christian Kamm <kamm incasoftware de>
date Sun, 12 Apr 2009 13:50:18 +0200
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();
}