OSDN Git Service

PR c++/56794
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Apr 2013 21:18:05 +0000 (21:18 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Apr 2013 21:18:05 +0000 (21:18 +0000)
commitd949ba8508796b6449cd25fe456c050ea5dc3650
tree95fd9ea2d5dcbf958c70ddc714c2b883948216a3
parente9845e3f8f7365922e24e1fc414722dd6f66a76a
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197324 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp0x/range-for24.C [new file with mode: 0644]