[Bug c++/64794] New: GCC failed at virtual function with "override" trailing return type name, followed by override virt-specifier
boostcpp at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jan 26 04:50:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64794
Bug ID: 64794
Summary: GCC failed at virtual function with "override"
trailing return type name, followed by override
virt-specifier
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: boostcpp at gmail dot com
GCC failed at virtual function with "override"
trailing return type name, followed by override virt-specifier.
Following code should be well-formed.
struct override { } ;
struct Base
{
virtual auto f() -> override ;
} ;
struct Derived : Base
{
// GCC issues error: two or more data types in declaration of 'type name'
auto f() -> override override ;
} ;
More information about the Gcc-bugs
mailing list