blob: 4aea2149d540cfe1d9b97e1d2420dadbf32a354b [file] [log] [blame]
// { dg-do assemble }
// Origin: Mark Mitchell <mark@codesourcery.com>
template <class T>
struct S
{
template <class U>
friend S<U>; // { dg-error "" } friend must use tag
};
template struct S<int>;