repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
koenig13.C
blob
625a181f6214a7a529439e5a3c59a92dc518ed36
1
// PR c++/42687
2
// DR 705
3
4
namespace N
5
{
6
struct S { };
7
void f(const S &) { }
8
}
9
10
void f(const N::S &) { }
11
12
int main()
13
{
14
N::S v;
15
(f)(v); // no ambiguity: ADL is prevented with (), only ::f is considered
16
}