Reset branch to trunk.
[official-gcc.git] / trunk / gcc / testsuite / g++.dg / lookup / hidden-temp-class4.C
blob3d085e2249a3618b211aea0624e9a3243c4ae445
1 // Copyright (C) 2005 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3 // { dg-do compile }
5 class A {
6   template <class T> friend class B;
7 };
9 B<int> *b;      // { dg-error "type|expected" }