OSDN Git Service

PR c++/34774
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / inherit / base2.C
1 // Copyright (C) 2004 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 23 Sep 2004 <nathan@codesourcery.com>
3
4 // Origin: Wolfgang Bangerth <bangerth@dealii.org>
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 {};