Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / lookup / hidden-temp-class9.C
blob783139b66ab1dae18ba1d834fdc332f9c516140d
1 // Copyright (C) 2005 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3 // { dg-do compile }
5 class A {
6   friend class B;
7 };
9 class C {
10   template <class T> friend class B;    // { dg-error "not a template" }