http://llvm.org/bugs/show_bug.cgi?id=22586
Bug ID: 22586
Summary: Functional cast notation with function type
Product: clang
Version: trunk
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
Given
using type = int();
Then
int (&&a)() = type();
compiles, while [expr.type.conv]/2 does not allow it. Moreover, the (also
invalid) expression statement
type()();
yields "cannot compile this l-value expression yet".
--
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