http://llvm.org/bugs/show_bug.cgi?id=12126
Bug #: 12126
Summary: CLANG++ fails to report for Befriending inaccessible
name.
Product: clang
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
class A {
private:
void f(); // { dg-error "private" }
};
class B {
friend void A::f(); // { dg-error "context" }
};
For the above test case,
Clang++ fails to notify error about illegal use of f() defined as private in
Class A.
--
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