http://llvm.org/bugs/show_bug.cgi?id=20565
Bug ID: 20565
Summary: missing DiagnoseUseOfDecl call in contextual implicit
conversion; no diagnostic for deleted function
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Keywords: accepts-invalid
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
enum A {};
struct C { operator A() = delete; explicit operator bool(); };
int main() {
C c;
switch (c) {}
}
--
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