pt.c
489 KB
-
re PR c++/32241 (ICE trying to call x.~X(); in a template) · 3d9b2eb6
PR c++/32241 * pt.c (tsubst_copy_and_build) <case COMPONENT_REF>: If object_type is not scalar type, let finish_class_member_access_expr handle diagnostics. Pass BIT_NOT_EXPR argument to finish_pseudo_destructor_expr. Handle SCOPE_REF properly. * g++.dg/template/pseudodtor3.C: New test. From-SVN: r130066
Jakub Jelinek committed