re PR c++/48535 ([C++0x][SFINAE] Hard errors during list-value-initialization)
authorJason Merrill <jason@redhat.com>
Mon, 11 Apr 2011 22:01:04 +0000 (18:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 11 Apr 2011 22:01:04 +0000 (18:01 -0400)
commit80c6dcf59bf7b192f107a2d950877a6b09fc6084
tree3b58eebc8734149498c7501b9210b12e419ac019
parent76186d20ccf5c5c34f5f4fe2e721738d28890a4a
re PR c++/48535 ([C++0x][SFINAE] Hard errors during list-value-initialization)

PR c++/48535
* decl.c (cp_complete_array_type_or_error): New.
* semantics.c (finish_compound_literal): Use it.
* cp-tree.h: Declare it.

From-SVN: r172287
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/sfinae12.C [new file with mode: 0644]