3 // Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
5 // PR 9030. Perform access checking to parameter and return type of
6 // function template correctly when the template is friend.
8 template <class T> class Outer {
13 friend typename Outer<T_>::Inner foo ();
17 typename Outer<T>::Inner
19 return typename Outer<T>::Inner();