PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / inherit7.C
blobb3abc26b98c87cfd0229838a7b09edc0c0988a7d
1 // Origin: PR c++/48656
2 // { dg-do compile { target c++11 } }
4 struct A {
5  int f();
6  int f(int);
7 };
9 template <typename> struct B : A
13 template <typename T> struct C : B<T>
15     void
16     g()
17     {
18         A::f();
19     }