[LLVMbugs] [Bug 9060] New: Late-specified return type accepted for parenthesized declarator
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jan 26 14:36:37 PST 2011
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: unassignedclangbugs at nondot.org
ReportedBy: schaub.johannes at googlemail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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.
More information about the llvm-bugs
mailing list