summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash9.C
blob: a0d4873205a1cc39af90233dd7e522fdacf7a69c (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// Origin: Jason Merrill <jason@cygnus.com>

struct A { };
struct B : public A
{
  int A;
};
struct C : public B { };