summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/inherit/pr30297.C
blob: 222d9ab8059ebb9a9464170869ee65dcf52256bd (plain)
1
2
3
4
5
6
7
8
9
10
11
// Regression test for ICE from PR c++/30297.

struct A
{
  int i;
};

extern "C" struct B : A
{
  A::i;
};