Skip to content
Snippets Groups Projects
Commit 25614952 authored by Jason Merrill's avatar Jason Merrill
Browse files

re PR c++/38701 (ICE with defaulted function)

        PR c++/38701
        * decl.c (cp_finish_decl): Clear DECL_INITIAL for invalid
        defaulting.

        PR c++/38702
        * class.c (defaultable_fn_p): Only operator== can be a copy
        assignment operator.

From-SVN: r143082
parent 8adee3e6
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment