re PR c++/56794 (C++11 Error in range-based for with parameter pack array)
authorJason Merrill <jason@redhat.com>
Mon, 1 Apr 2013 21:18:05 +0000 (17:18 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 1 Apr 2013 21:18:05 +0000 (17:18 -0400)
commit570e2ca01e8a80aadd18eb0b85c982077e76aef4
tree95fd9ea2d5dcbf958c70ddc714c2b883948216a3
parent123d7a94342b49153722fe385b60dfd54a216aaa
re PR c++/56794 (C++11 Error in range-based for with parameter pack array)

PR c++/56794
* parser.c (cp_parser_range_for): Don't try to do auto deduction
in a template if the type of the range is incomplete.

From-SVN: r197324
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp0x/range-for24.C [new file with mode: 0644]