title: Is it legal to recurse into main() in C++?
body: <p>I read that the C++ standard forbids recursion in <code>main()</code>, but g++ compiles the following code without complaint:</p>
  
  <pre><code>int main()
  {
      main();
  }
  </code></pre>
  
  <p>Can anyone clarify this?</p>