projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/80891 (#1)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
pr80891-1.C
1
// PR c++/80891 part 1
2
// std::endl is found via two paths and most_specialized_instantiation
3
// gets confused.
4
5
namespace std {
6
struct A {
7
void operator<<(A(A));
8
};
9
template <typename _CharT, typename _Traits> _CharT endl(_Traits);
10
A a;
11
}
12
13
using std::endl;
14
15
void chi_squared_sample_sized()
16
{
17
using namespace std;
18
a << endl;
19
}