[LLVMbugs] [Bug 7922] New: Using-declaration cannot refer to a conversion function specialization
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Aug 16 07:01:30 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7922
Summary: Using-declaration cannot refer to a conversion
function specialization
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: schaub-johannes at web.de
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
This programm is ill-formed according to 14.5.2/7, but clang accepts it:
struct A {
template<typename T> operator T();
};
struct B : A {
// ill-formed: refers to specialization
using A::operator int;
};
--
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