https://llvm.org/bugs/show_bug.cgi?id=26182

            Bug ID: 26182
           Summary: Associated namespaces of local classes in ADL
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

template <typename T>
void f(T t) {g(&t);}

void g(void*) {}

struct A {} a;
void h() {
    struct B {} b;
    f(a); // (1)
    f(b); // (2)
}

--------------------------

(2) fails while (1) doesn't, despite the fact that both have the same set of
associated namespaces as per [basic.lookup.argdep]/(2.2).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to