diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2012-10-12 14:38:11 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-10-12 14:38:11 +0000 |
commit | e74a506f4eec90fc1d4839f8cde506be8f99c9de (patch) | |
tree | e7b34a56f7034d83f32c0d141c6cd696622fecc9 /gcc/web.c | |
parent | 5e54f81df1b2336a3ddc4f77180f4e579436b663 (diff) | |
download | gcc-e74a506f4eec90fc1d4839f8cde506be8f99c9de.zip gcc-e74a506f4eec90fc1d4839f8cde506be8f99c9de.tar.gz gcc-e74a506f4eec90fc1d4839f8cde506be8f99c9de.tar.bz2 |
re PR c++/24449 (Unable to declare friend main() from class template)
/cp
2012-10-12 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/24449
* decl.c (grokfndecl): When checking for ::main declarations
use PROCESSING_REAL_TEMPLATE_DECL_P().
/testsuite
2012-10-12 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/24449
* g++.dg/parse/friend-main.C: New.
From-SVN: r192402
Diffstat (limited to 'gcc/web.c')
0 files changed, 0 insertions, 0 deletions