OSDN Git Service

PR c++/52685
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / virtual1.C
1 // PR c++/51029
2
3 struct A
4 {
5   void foo();
6 };
7
8 struct B : virtual A
9 {
10   template<int> B()
11   {
12     foo();
13   }
14 };