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

           Summary: clang c++ incorrectly accepts operator name as
                    parameter name
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Testcase:
void f(void operator+());

I believe [dcl.fct]p10 makes this invalid: operator+ isn't an identifier, and
the standard says "An identifier can optionally be provided as a parameter
name...".

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