http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46839

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-12-07 
17:19:42 UTC ---
Note that Intel compiler, based on the EDG C++ front-end, also rejects this
code in strict mode. Likewise of course Comeau. This is enough to show the
issue:

template<typename T>
  void forward(T);

template <typename T> struct A
{
  T forward;
};

template <typename T> struct B : public A<T>
{
  void Function()
  {
    this->forward < 1;
  }
};

Reply via email to