3 // Overly simplified from testcase by "B. K. Oxley" <binkley@bigfoot.com>
5 template<class P, class Q> struct foo {
7 friend parent_type; // { dg-error "" } template parameters cannot be friends
8 friend Q; // { dg-error "" } template parameters cannot be friends