PR c++/81899
[official-gcc.git] / gcc / testsuite / g++.dg / template / pr81899.C
blob2db57cf75040bae7386ccac6181e78226f0d5635
1 // PR 81899 we tried to treat a bound-tpl-tpl-parm as-if a real record-type
3 template <template <typename> class FunctorData>
4 struct functor {
5   friend FunctorData<int>;
6   void foo();
7 };
9 template <typename> struct data;
11 template<> void functor<data>::foo();