summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/name-clash3.C
blob: eb52a7c10c7ee3b01c9dca8250aed930de49aa3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do compile }

// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// PR c++/12102

struct A
{
    struct C {} C;
};

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