struct foo{ typedef int bar; }; int main() { foo f; typeof(f)::bar i = 0; return 0; } gets you: ~/ootbc/sim/test$ g++ foo.cc foo.cc: In function 'int main()': foo.cc:4: error: expected initializer before 'i'
*** This bug has been marked as a duplicate of 6709 ***
Not fixed for four years? How come?
(In reply to comment #2) > Not fixed for four years? How come? No volunteers to fix it? Not an important bug that bothers many people?