* pt.c: Fix a comment typo.

From-SVN: r91391
This commit is contained in:
Kazu Hirata 2004-11-27 20:44:30 +00:00 committed by Kazu Hirata
parent 84477ec3e8
commit 270af55dd4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-11-27 Kazu Hirata <kazu@cs.umass.edu>
* pt.c: Fix a comment typo.
2004-11-27 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Friend class name lookup 4/n

View File

@ -6735,7 +6735,7 @@ tsubst_function_type (tree t,
return error_mark_node;
/* The standard does not presently indicate that creation of a
function type with an invalid return type is a deduction failure.
However, that is clearly analagous to creating an array of "void"
However, that is clearly analogous to creating an array of "void"
or a reference to a reference. This is core issue #486. */
if (TREE_CODE (return_type) == ARRAY_TYPE
|| TREE_CODE (return_type) == FUNCTION_TYPE)