cp:
commit5eeb9cf74f18206542bc125a867ec0e018c9b74c
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 2005 17:43:26 +0000 (31 17:43 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 2005 17:43:26 +0000 (31 17:43 +0000)
tree03394e83db81a65eb8ed9555e2c58af853374744
parentfde6981d45cda547b0306f24467d99d4dd21d34c
cp:
PR c++/21165
* init.c (integral_constant_value): Check the type of the
initializer, not the decl.
testsuite:
PR c++/21165
* g++.dg/template/init5.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100402 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/init5.C [new file with mode: 0644]