// Verify the fix for issue 172.
namespace test87 {
   template <class T>
   class Test {
      friend class B<T>; ///< B needs to access the data directly.
      T m_val;
   };
   
   template <class T>
   class B {
      T m_val1;
      Test<T> m_val2;
   };
}

