Always treat 'main' as an extern "C" function, so that we detect
redeclarations of main appropriately rather than allowing it to be overloaded. Also, disallowing declaring main as a template. Fixes GCC DejaGNU g++.old-deja/g++.other/main1.C. llvm-svn: 117029
Loading
Please register or sign in to comment