PR c++/70979 - literal class and closure types
authorJason Merrill <jason@redhat.com>
Tue, 9 May 2017 20:37:51 +0000 (16:37 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 9 May 2017 20:37:51 +0000 (16:37 -0400)
commit65d7adba7ba2736bb7f11f4728c084f85f76cf86
tree65ce1dc5ee3b54609a9f598cc0a362de33b0e8ac
parent54069e595976eb556b22c231951cb2703e523a22
PR c++/70979 - literal class and closure types

* class.c (finalize_literal_type_property): Handle closures
specifically.
(explain_non_literal_class): Likewise.

From-SVN: r247814
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/g++.dg/cpp1z/constexpr-lambda15.C