Core issue 2310 - conversion to base of incomplete type.
authorJason Merrill <jason@redhat.com>
Thu, 10 May 2018 18:57:55 +0000 (14:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 10 May 2018 18:57:55 +0000 (14:57 -0400)
commitf8e94a0156bb869e3b82ca063054ab052a72827b
tree14d1c41829180b70b52b834aa6a1fbe4954b8ecb
parentd86d6e27db4520249273fbd65e809036999f96f4
Core issue 2310 - conversion to base of incomplete type.

* class.c (build_base_path): Check COMPLETE_TYPE_P for source type.

From-SVN: r260127
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/g++.dg/cpp0x/constexpr-base6.C [new file with mode: 0644]