summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error-recovery2.C
blob: d5ce12311e3a8faf61c7d03ce479f219bd960a31 (plain)
1
2
3
4
5
6
7
// PR c++/43621

template <typename T>
class A {
  template <typename>
  A<T> A<T>::f();		// { dg-error "extra qualification" }
};