* decl.c (check_initializer): Fix thinko.
From-SVN: r109728
This commit is contained in:
parent
6085dc49ba
commit
7525db0347
|
@ -1,3 +1,7 @@
|
|||
2006-01-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
||||
|
||||
* decl.c (check_initializer): Fix thinko.
|
||||
|
||||
2006-01-14 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
PR c++/25663
|
||||
|
|
|
@ -4578,7 +4578,7 @@ check_initializer (tree decl, tree init, int flags, tree *cleanup)
|
|||
|
||||
if (TREE_CODE (decl) == CONST_DECL)
|
||||
{
|
||||
gcc_assert (TREE_CODE (decl) != REFERENCE_TYPE);
|
||||
gcc_assert (TREE_CODE (type) != REFERENCE_TYPE);
|
||||
|
||||
DECL_INITIAL (decl) = init;
|
||||
|
||||
|
|
Loading…
Reference in New Issue