re PR c++/48531 ([C++0x][SFINAE] Hard errors with arrays of unknown bound)
authorJason Merrill <jason@redhat.com>
Thu, 14 Apr 2011 15:00:15 +0000 (11:00 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 14 Apr 2011 15:00:15 +0000 (11:00 -0400)
commite2a009c710b96a3dcb81eba7ff574fd53f68fea5
tree357337d39e99a9917ac8644ac24f1950ce00441b
parenta66e8081b522edc78354e41ded044a597dc100d9
re PR c++/48531 ([C++0x][SFINAE] Hard errors with arrays of unknown bound)

PR c++/48531
* init.c (build_value_init_noctor): Check complain consistently.

From-SVN: r172434
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/sfinae15.C [new file with mode: 0644]