[LLVMbugs] [Bug 6915] New: Assertion triggered by type-dependent enum member declaration.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Apr 24 01:05:25 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=6915
Summary: Assertion triggered by type-dependent enum member
declaration.
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: zaffanella at cs.unipr.it
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
The following program causes an assertion failure:
template <typename T>
class D {
enum T::X v;
};
$ llvm/Debug/bin/clang++ -fsyntax-only enum.cc
clang: ParseDecl.cpp:1942: void
clang::Parser::ParseEnumSpecifier(clang::SourceLocation, clang::DeclSpec&,
const clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier): Assertion
`!IsDependent && "didn't expect dependent enum"' 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