summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/friend46.C
blob: 17dc0db943bc663a60c09503db7082b98f024c6d (plain)
1
2
3
4
5
6
7
8
9
// PR c++/27714

template<typename> struct A
{
  static void* operator new(__SIZE_TYPE__);
  template <typename T> friend void* A<T>::operator new(__SIZE_TYPE__);
};

A<int> a;