https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67065
--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Thu Aug 20 10:18:03 2015 New Revision: 227027 URL: https://gcc.gnu.org/viewcvs?rev=227027&root=gcc&view=rev Log: /cp 2015-08-20 Paolo Carlini <paolo.carl...@oracle.com> PR c++/67065 * decl.c (grokvardecl): Reject 'main' as global variable. /testsuite 2015-08-20 Paolo Carlini <paolo.carl...@oracle.com> PR c++/67065 * g++.dg/other/pr67065.C: New. Added: trunk/gcc/testsuite/g++.dg/other/pr67065.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog