projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
c++: ICE with USING_DECL redeclaration [PR98687]
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using65.C
1
// PR c++/98687
2
// { dg-do compile }
3
4
extern "C" namespace std {
5
double log1p(double);
6
}
7
namespace std_fallback {
8
template <typename> void log1p();
9
}
10
template <typename> struct log1p_impl {
11
static int run() {
12
using std::log1p;
13
using std_fallback::log1p;
14
return 0;
15
}
16
};
17
void log1p() { log1p_impl<int>::run(); }