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

           Summary: Assertion `D == 0 && "Destroy method not called."' on
                    invalid code
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Testcase:

static void x()
{
    int bx=0;
    { COPY3_IF_LT(by) }
}

Run through clang -fsyntax-only, crashes with the following assertion:
clang: /home/eli/llvm/tools/clang/lib/AST/DeclGroup.cpp:67:
clang::DeclGroupOwningRef::~DeclGroupOwningRef(): Assertion `D == 0 && "Destroy
method not called."' 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