[LLVMbugs] [Bug 8181] New: negation operator bypasses resolving the address of an overload
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Sat Sep 18 09:17:52 PDT 2010
    
    
  
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: unassignedclangbugs at nondot.org
        ReportedBy: faisalv at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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.
    
    
More information about the llvm-bugs
mailing list