blob: 77a8c97cf567257baafa5d71ad22490112832fdc [file] [log] [blame]
template <class T> void foo (int);
template <class T>
class Q {
friend void foo<T> (int) { } // { dg-error "15:defining explicit specialization" }
};