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

           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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


struct A {
  virtual void f() = 0;

  A();
};

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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to