summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/new7.C
blob: dcf8a8e595e3f13ff80249406ea48b1be08aa8ed (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;