static_cast7.C
225 Bytes
-
re PR c++/39415 (static_cast used as downcast can silently lose const) · d780189f
PR c++/39415 * typeck.c (build_static_cast_1): Convert to the target type when doing static_cast<cv Derived*>(Base*). From-SVN: r166667
James Dennett committed