OSDN Git Service

add c++/43145 tag to changelog and testcase
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lookup / hidden-class6.C
1 // { dg-do compile }
2
3 // Origin: Jay Cox <jaycox@gimp.org>
4
5 // PR c++/1016: Name lookup for injected friend class
6
7 class B;
8
9 namespace N {
10   class A {
11     friend class B;
12     B* b;
13   };
14 }