view tests/mini/bug44.d @ 1034:12b423e17860

Adjust mini tests to use D_InlineAsm
author Christian Kamm <kamm incasoftware de>
date Tue, 03 Mar 2009 18:26:39 +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();
}