aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/f95-lang.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-10-11 16:38:52 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2005-10-11 16:38:52 +0000
commitca85f659109df84a4119c39afc5231f1eedc1459 (patch)
tree023c7aeb69682b23b3d71f879065e214f8895f29 /gcc/fortran/f95-lang.c
parent386cfa6f3f1aeba33362f4f3717c2df2980ade6c (diff)
downloadgcc-ca85f659109df84a4119c39afc5231f1eedc1459.zip
gcc-ca85f659109df84a4119c39afc5231f1eedc1459.tar.gz
gcc-ca85f659109df84a4119c39afc5231f1eedc1459.tar.bz2
re PR c++/21369 (Template function definition rejected if function return type begins with 'struct')
PR c++/21369 * parser.c (cp_parser_elaborated_type_specifier): Don't treat class types as templates if the type is not appearing as part of a type definition or declaration. PR c++/21369 * g++.dg/parse/ret-type3.C: New test. From-SVN: r105241
Diffstat (limited to 'gcc/fortran/f95-lang.c')
0 files changed, 0 insertions, 0 deletions