www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - excess warning?

-----a.d
int main(){
auto Object o=new Object;
return 0;
}
-----
dmd -w a.d
warning - a.d(1): function a.main no return at end of function
Feb 10 2006