Hi jason,
The test g++.dg/cpp0x/lambda/lambda-this8.C fails on x86_64-apple-darwin10:
FAIL: g++.dg/cpp0x/lambda/lambda-this8.C -std=c++11 (test for excess errors)
Excess errors:
/opt/gcc/work/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this8.C:6:31: error:
declaration of 'void abort() throw ()'
When the only use of 'this' is implicitly by a dependent name, we don't
see the capture until instantiation time. Don't clobber its capture
list entry when we instantiate the ones seen at template definition time.
Tested x86_64-pc-linux-gnu, applying to trunk.
commit