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

           Summary: Clang compiles member function call with missing ()
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Clang compiles this C++ program without errors or warnings:

class A {
public:
    void foo();
};

int main(void) {
    A a;
    !a.foo;
}

GCC rejects it, and I believe GCC is correct.

-- 
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