re PR c++/48523 ([C++0x] lambda cannot capture 'this' in class template)
authorJason Merrill <jason@redhat.com>
Mon, 11 Apr 2011 22:00:20 +0000 (18:00 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 11 Apr 2011 22:00:20 +0000 (18:00 -0400)
commitac4b1cc036b88ed7e82c1c755b39568064e9f2e0
treebf33c55921fbb1319b6ae682ceca79aa585cc2b6
parentb24290fb5bfba313dc7143aa29a7b161fd501997
re PR c++/48523 ([C++0x] lambda cannot capture 'this' in class template)

PR c++/48523
* tree.c (maybe_dummy_object): Use build_x_indirect_ref rather
than cp_build_indirect_ref.

From-SVN: r172283
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this4.C [new file with mode: 0644]