[LLVMbugs] [Bug 7906] New: Assertion failure with invalid use of function template as scope specifier

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 14 19:31:17 PDT 2010


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

           Summary: Assertion failure with invalid use of function
                    template as scope specifier
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: crash-on-invalid
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Testcase:
template<int> void foo() { foo<0>::

Crashes with:
clang: ParseExprCXX.cpp:227: bool
clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, void*,
bool, bool*): Assertion `false && "FIXME: Only type template names supported
here"' 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.



More information about the llvm-bugs mailing list