[LLVMbugs] [Bug 7915] New: clang c++ crash declaring friend with same name as containing class
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Aug 15 14:04:16 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7915
Summary: clang c++ crash declaring friend with same name as
containing class
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
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:
struct S {
friend void S();
};
Crashes with:
clang: SemaOverload.cpp:557: clang::Sema::OverloadKind
clang::Sema::CheckOverload(clang::Scope*, clang::FunctionDecl*, const
clang::LookupResult&, clang::NamedDecl*&, bool): Assertion `Old.getLookupKind()
== LookupUsingDeclName' 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