http://llvm.org/bugs/show_bug.cgi?id=9060
Summary: Late-specified return type accepted for parenthesized
declarator
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++0x
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
The following is not well-formed C++0x according to n3225
auto (n() -> int);
You can use late specified return types only on the top-level. So the thing
above, and the thing below are not valid
auto (*(f() -> int))[1];
--
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