Files
ldc/tests/mini/bug44.d
2008-08-01 00:32:06 +02:00

21 lines
148 B
D

module bug44;
struct rgb
{
long l;
}
void foo()
{
}
rgb test() {
scope(exit) foo();
return rgb();
}
void main()
{
rgb r = test();
}