blob: ebf7d7f40fb51035e1646f15f88b80c6ed779bb0 [file] [log] [blame]
// PR c++/104432
// { dg-do compile { target c++11 } }
template<class T>
struct A {
template<class=int> static void f(T);
static void f();
};
template<class> struct B : A<int>, A<int&> {
using A<int>::f;
using A<int&>::f;
void g() { f(0); }
};
template struct B<int>;