Rule M7-3-2 (required, implementation, automated)

The identifier main shall not be used for a function other than the global function main.

See MISRA C++ 2008 [7]