OSDN Git Service

new
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / typedef4.C
1 // Build don't link:
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3
4 struct B1 {
5   typedef int X;
6 };
7
8 struct B2 {
9   typedef int X;
10 };
11
12 template <class T>
13 struct D : public B1, public B2 {
14   typedef int X;
15 };
16
17 template struct D<int>;