This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug report


Hi.

gcc 2.95.2 reports a parse error at line 3 for this simple input file, using
"gcc" or "gcc -c" to compile it.

--------------------------------
template <typename T>
void foo(T x) {
  T::item it;
}
--------------------------------

"gcc -v" says: "gcc version 2.95.2 19991024 (release)"



bye


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]