91d4578cba8b8bba891056b8b96583ec71023aac |
|
21-Oct-2010 |
Douglas Gregor <doug.gregor@gmail.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117029 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CXX/basic/basic.start/basic.start.main/p2h.cpp
|