re PR c++/48994 ([C++0x] error for trivial use of range-based 'for')
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sun, 15 May 2011 23:04:04 +0000 (23:04 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 15 May 2011 23:04:04 +0000 (00:04 +0100)
commit5bef11c8e7138b24f9f30bb778218d5151df65cb
treee83a8318135245467cecdb74fe345cc1e99e90ac
parentdfb737fcca4b3bed9984d5136e58c919e1e1bb5d
re PR c++/48994 ([C++0x] error for trivial use of range-based 'for')

PR c++/48994
* parser.c (cp_parser_perform_range_for_lookup): Call complete_type.

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