summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.benjamin/13523.C
blob: d70e04a988045ac71811301538f49ff859d5256d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// 981203 bkoz
// g++/13523

template<typename T> class latin_america;

class peru
{
  friend class latin_america<int>;  // Particular template class friend works
  template<class T> friend class latin_america; // This does not work.
};