public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67012] New: decltype(auto) with trailing return type
@ 2015-07-25 21:55 david.godfrey99 at gmail dot com
2015-07-26 20:27 ` [Bug c++/67012] " redi at gcc dot gnu.org
2021-12-10 7:25 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: david.godfrey99 at gmail dot com @ 2015-07-25 21:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67012
Bug ID: 67012
Summary: decltype(auto) with trailing return type
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: david.godfrey99 at gmail dot com
Target Milestone: ---
Compiles in GCC but not Clang:
decltype(auto) f() -> int;
The code is ill-formed because only auto is allowed with a trailing return
type.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/67012] decltype(auto) with trailing return type
2015-07-25 21:55 [Bug c++/67012] New: decltype(auto) with trailing return type david.godfrey99 at gmail dot com
@ 2015-07-26 20:27 ` redi at gcc dot gnu.org
2021-12-10 7:25 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-26 20:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67012
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-26
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/67012] decltype(auto) with trailing return type
2015-07-25 21:55 [Bug c++/67012] New: decltype(auto) with trailing return type david.godfrey99 at gmail dot com
2015-07-26 20:27 ` [Bug c++/67012] " redi at gcc dot gnu.org
@ 2021-12-10 7:25 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-10 7:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67012
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |9.0
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-10 7:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-25 21:55 [Bug c++/67012] New: decltype(auto) with trailing return type david.godfrey99 at gmail dot com
2015-07-26 20:27 ` [Bug c++/67012] " redi at gcc dot gnu.org
2021-12-10 7:25 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).