https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86178

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
See 4) at http://en.cppreference.com/w/cpp/language/main_function#Explanation

There's also an implicit "return 0;" for C, but only since C99 and only when
the return type of main is compatible with int. See 3) at 
http://en.cppreference.com/w/c/language/main_function

Reply via email to