Debian Codegraph @

gcc/testsuite/g++.dg/lookup/hidden-temp-class11.C

raw
1 // Copyright (C) 2005 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <[email protected]>
3 // { dg-do compile }
4
5 namespace N {
6 class A {
7 template <class T> friend class B;
8 };
9 }
10
11 using N::B; // { dg-error "declared" }