https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62257
Bug ID: 62257 Summary: issue with tr1/functional header Product: gcc Version: unknown Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wangn at ca dot ibm.com some of perennial test cases failed because problem on tr1/functional header file. source file: $ cat t.cpp #include <tr1/functional> struct T { typedef int result_type; }; std::tr1::result_of<T>::type a; how to reproduce: g++ -c t.cpp actual output: t.cpp:4:1: error: âtypeâ in âclass std::tr1::result_of<T>â does not name a type std::tr1::result_of<T>::type a; ^ expected output: compile clean