re PR c++/36089 (Funny rejects valid with constant integral expression)
authorJakub Jelinek <jakub@redhat.com>
Mon, 17 Nov 2008 07:55:52 +0000 (08:55 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 17 Nov 2008 07:55:52 +0000 (08:55 +0100)
commit73ce7fcb8cdacf40e7342834e1af9d930e012e02
treeeca721f5a076e4b589c4b5ee179ccd06c17325d4
parentf92efbc3fe2521c2103b51a2fbe666a150eabe4b
re PR c++/36089 (Funny rejects valid with constant integral expression)

PR c++/36089
* init.c (constant_value_1): Handle TREE_LIST init.

* g++.dg/template/init8.C: New test.

From-SVN: r141941
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/init8.C [new file with mode: 0644]