(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
lookup/
koenig13.C
// PR c++/42687
// DR 705

namespace N
{
    struct S { };
    void f(const S &) { }
}

void f(const N::S &) { }

int main()
{
    N::S v;
    (f)(v); // no ambiguity: ADL is prevented with (), only ::f is considered
}