view tests/mini/mainvoidreturn.d @ 1582:d8e558087001

Fixed a segfault in ldc2 when compiling synchronized{} blocks.
author Robert Clipsham <robert@octarineparrot.com>
date Sat, 19 Sep 2009 13:05:10 +0100
parents 815e1b8c6b00
children
line wrap: on
line source

void foo()
{}

void main()
{
  return foo();
}