blob: 725ca190ae9b05638bf9e1f7f81277aa560ef35e [file] [log] [blame]
// PR c++/80891 part 1
// std::endl is found via two paths and most_specialized_instantiation
// gets confused.
namespace std {
struct A {
void operator<<(A(A));
};
template <typename _CharT, typename _Traits> _CharT endl(_Traits);
A a;
}
using std::endl;
void chi_squared_sample_sized()
{
using namespace std;
a << endl;
}