On 08/09/2013 12:52 PM, domi...@lps.ens.fr wrote:
On x86_64-apple-darwin10, g++.dg/lookup/typedef2.C fails with
FAIL: g++.dg/lookup/typedef2.C -std=c++11 (test for excess errors)
Excess errors:
/opt/gcc/work/gcc/testsuite/g++.dg/lookup/typedef2.C:8:12: error: using
typedef-name 'Foo1::Bar' after 'struct'
/opt/gcc/work/gcc/testsuite/g++.dg/lookup/typedef2.C:8:19: error: invalid type
in declaration before ';' token
As I said, the patch solves the issue on -linux, not just x86_64-linux,
but Linux more generally. Honestly, I don't know how much it will take
me to figure out a way to extend it to other targets, unless somebody
concretely helps.
If you want me to revert it, just say it, done.
Paolo.