blob: 20db5f10586ad23e1f36bc20a61db8c67399b368 [file] [log] [blame]
// PR c++/92440
// { dg-do compile }
template <int T> // { dg-error "template parameter" }
struct S {
template <class U>
friend struct S; // { dg-message "note: redeclared here as" }
};
S<0> s;