https://bugs.kde.org/show_bug.cgi?id=329347

Milian Wolff <m...@milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.0.0
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Milian Wolff <m...@milianw.de> ---
works with the new clang backend, but only once the parse error gets fixed:

template <typename T> class Bar
{
public:
  template< typename D > D* foo();
  T bar();
};

template< typename T >
T Bar<T>::bar() // NOTE: you missed the <T> after Bar here
{
  auto i = foo< int >();

  Bar<int> q;
  auto j = q.foo<int>();
}

auto k = Bar<int>().foo<int>();

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to