summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.gb/scope10.C
blob: ad19f96a13a0c00879b248888e3c3064c96cfc7b (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// GROUPS passed gb scope
void Foo (void)
{
  class C {
  public:
    virtual int foo (void) { return 0; }
  };
}