summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.gb/scope05.C
blob: 4c1fd0ea7eadc5378699f15369221d497705757b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// GROUPS passed gb scope
struct C {
  void foo (int);
  void foo (char);

  struct D {
    void foo ();
  };
};

void C::D::foo () { }