Debian Codegraph @

gcc/testsuite/g++.dg/inherit/base2.C

raw
1 // Copyright (C) 2004 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 23 Sep 2004 <[email protected]>
3
4 // Origin: Wolfgang Bangerth <[email protected]>
5 // Bug 17620. Bogus duplicate base error.
6
7 struct S {};
8
9 typedef S B;
10
11 struct D1 : B {};
12 struct D2 : B {};