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

           Summary: clang c++ crash with invalid member function pointer
           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:
struct fake_tuple;
void (connection::*f)(fake_tuple);

Crashes with:
clang: Decl.cpp:1053: void clang::FunctionDecl::setParams(clang::ParmVarDecl**,
unsigned int): Assertion `NumParams == getNumParams() && "Parameter count
mismatch!"' failed.

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