summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/hidden-class2.C
blob: 19287a5fb21b499fd6613a5b9bcce694bf7308ab (plain)
1
2
3
4
5
6
7
8
9
// Copyright (C) 2005 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
// { dg-do compile }

class A {
  friend class B;
};

class B* b;