[LLVMbugs] [Bug 9852] New: Assertion failure with invalid C++ code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 5 13:18:29 PDT 2011


           Summary: Assertion failure with invalid C++ code
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: andersca at mac.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

struct A {
  virtual void f() = 0;


A::A() {
  void A::(*f)();

The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /Users/andersca/src/llvm/build/bin/Debug/clang -cc1
-fsyntax-only t.cpp
Assertion failed: (!EnteredScope && "Already entered the scope!"), function
EnterDeclaratorScope, file
/Users/andersca/src/llvm/tools/clang/include/clang/Parse/Parser.h, line 1669.

Program received signal SIGABRT, Aborted.
0x00007fff87a16cba in __pthread_kill ()

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