Skip to content
Snippets Groups Projects
Commit bff62031 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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
parent 096011ee
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment