summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/nested3.C
blob: 6e43ad3509748a3d22fe8f0a5449dd581b7c18ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// Origin: Chip Salzenberg <chip@perlsupport.com>

class Foo {
  public:
    class Bar;
};

class Foo::Bar {
  public:
    Bar() {}
};