public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/68114] New: gcc doesn't show error when return type of deleted function is incomplete
@ 2015-10-27 16:57 vanyacpp at gmail dot com
  2015-10-27 22:42 ` [Bug c++/68114] " daniel.kruegler at googlemail dot com
  2015-10-30 12:44 ` vanyacpp at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: vanyacpp at gmail dot com @ 2015-10-27 16:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68114

            Bug ID: 68114
           Summary: gcc doesn't show error when return type of deleted
                    function is incomplete
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vanyacpp at gmail dot com
  Target Milestone: ---

struct z;

z f() = delete; // should be an error here

As I understand, f is a function definition and return type of function
definition must be complete.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-30 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-27 16:57 [Bug c++/68114] New: gcc doesn't show error when return type of deleted function is incomplete vanyacpp at gmail dot com
2015-10-27 22:42 ` [Bug c++/68114] " daniel.kruegler at googlemail dot com
2015-10-30 12:44 ` vanyacpp at gmail dot com

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).