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++/58548] [4.9 Regression] [c++1y] ICE with local struct in function with auto parameter


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58548

Daniel KrÃgler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler@googlemail.
                   |                            |com

--- Comment #2 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> ---
This is invalid code. The auto placeholder in the position of a parameter is
only valid for polymorphic lambda closures.

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