1 // PR 81899 we tried to treat a bound-tpl-tpl-parm as-if a real record-type
2 
3 template <template <typename> class FunctorData>
4 struct functor {
5   friend class FunctorData<int>;
6   void foo();
7 };
8 
9 template <typename> struct data;
10 
11 template<> void functor<data>::foo();
12