http://llvm.org/bugs/show_bug.cgi?id=8181

           Summary: negation operator bypasses resolving the address of an
                    overload
           Product: clang
           Version: 2.8
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Clang compiles the following code without error:

void f()
void f(int);

bool b = !&f; 

&f => is unresolvable in a boolean context and should be an error.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to