blob: f6f261ba07f085b9a7fd4b9bb001cf950044c3b0 [file] [log] [blame]
// { dg-do assemble }
template <class T>
void f(T) {} // { dg-message "previously" }
template <class U>
struct S {
template <class T>
friend void f(T) {} // { dg-error "redefinition" }
};
S<int> si;