view tests/mini/bug44.d @ 1517:a7a9e461512a

Make debug info work with newer LLVM.
author Christian Kamm <kamm incasoftware de>
date Fri, 26 Jun 2009 21:00:12 +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();
}