aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash23.C
blob: 03ffee666a3fb15fe4482837677063b5b3a61dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Build don't link: 
// GROUPS passed old-abort
// This used to die in chainon; it shouldn't any more.

class A
{
public:
  class B {
  public:
    void f ();
    void g (int);
  };
  void B::f () {}// ERROR - .*
  void B::g (int val) {}// ERROR - .*
};