2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / crash44.C
blob4aea2149d540cfe1d9b97e1d2420dadbf32a354b
1 // { dg-do assemble  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
4 template <class T>
5 struct S 
7   template <class U>
8   friend S<U>;            // { dg-error "" } friend must use tag
9 };
11 template struct S<int>;