August 10, 2005
class Foo
{
	int bar() { return 5; }
}

int main()
{
	auto Foo foo=new Foo();
	return foo.bar();
}

---

> dmd -w test.d
warning - test.d(6): function test.main no return at end of function

---

If auto is removed, it works fine.. If this is known already, sorry to have bothered you :)


xs0

PS: it's DMD 0.129 on Windows