ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git] / gcc / testsuite / g++.dg / template / friend64.C
blob77a8c97cf567257baafa5d71ad22490112832fdc
1 template <class T> void foo (int);
3 template <class T>
4 class Q {
5   friend void foo<T> (int) { }  // { dg-error "15:defining explicit specialization" }
6 };