Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/crash44.C

raw
1 // { dg-do assemble }
2 // Origin: Mark Mitchell <[email protected]>
3
4 template <class T>
5 struct S
6 {
7 template <class U>
8 friend S<U>; // { dg-error "" } friend must use tag
9 };
10
11 template struct S<int>;