summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash53.C
blob: 127c1d0ff1e5a124b87b62d6572143c3ea5fed99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// { dg-do assemble  }
// GROUPS passed old-abort
class A
{
  public:
    class B
    {
      public:
        virtual ~B();
    };
};

template<int I>
class C
{
  public:
    class B
    : public A::B
    {
    }; // bug2.cc:18: Internal compiler error 233.
       // bug2.cc:18: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'.
};

C<0> c;