blob: 9b1ea8cfc5ba1e377c5be0872e35148e56971476 [file] [log] [blame]
// { dg-do compile }
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
// PR c++/11039: Implicit typename warning in friend class declaration.
template <typename T> struct X {
struct Y {
struct Z {};
};
template <typename U> friend struct Y::Z f(U);
};