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;