re PR c++/48531 ([C++0x][SFINAE] Hard errors with arrays of unknown bound)
authorJason Merrill <jason@redhat.com>
Mon, 18 Apr 2011 00:50:31 +0000 (20:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 18 Apr 2011 00:50:31 +0000 (20:50 -0400)
commit4ddd8a74ba5c23b5dd69d7b501a1d8c4ad053b4b
treecbdcad160c4dcac6149cddb741dbdbd9a60c22f1
parent991e015686a39b50e4a756b463d250aeb07267f6
re PR c++/48531 ([C++0x][SFINAE] Hard errors with arrays of unknown bound)

PR c++/48531
* typeck2.c (build_functional_cast): Disallow array type.

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