http://llvm.org/bugs/show_bug.cgi?id=8022
Summary: clang c++ assertion "Invalid Scope." on invalid
template using directive
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Testcase:
struct A {
template <typename T> void f (T);
};
class B : A {
template <typename T> using A::f <T>;
};
Assertion:
clang: SemaDeclCXX.cpp:3571: virtual clang::Decl*
clang::Sema::ActOnUsingDeclaration(clang::Scope*, clang::AccessSpecifier, bool,
clang::SourceLocation, clang::CXXScopeSpec&, clang::UnqualifiedId&,
clang::AttributeList*, bool, clang::SourceLocation): Assertion `S->getFlags() &
Scope::DeclScope && "Invalid Scope."' 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