blob: a80be036442574f9a99f09274c664c3e983c21d7 [file] [log] [blame]
// { dg-do run }
template <class T>
struct Foo
{
int k (float) {return 0;}
};
template <class T>
struct Baz
{
int k (int) {return 1;}
};
template <class T>
struct Bar : Foo<T> , Baz<T>
{
using Foo<T>::k;
using Baz<T>::k;
};
int main()
{
Bar<int> bar;
return bar.k( 1.0f );
}