http://llvm.org/bugs/show_bug.cgi?id=15711
Bug ID: 15711
Summary: clang allows access to private overloaded member
function
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
gcc rejects but clang accepts this:
class foo {
void f();
void f(int);
};
template<typename T>
class bar : public foo {
void g() {
f();
}
};
template class bar<int>;
--
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