summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/scoping3.C
blob: 31a75cf0afb0f334e1a28855eafb3c9eb243c5c4 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// Bug: g++ does not grok nested types very well.

class A {
  class B;
  friend class B;
  class B { };			// { dg-bogus "" } 
};