This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/65072] Segfault when parsing dectlype in trailing return type


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

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
EDG rejects it:

tes2.ii(7): error: incomplete type is not allowed
    auto operator*(const C m) -> C <decltype (m.i)>;
                                              ^


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]