re PR c++/39415 (static_cast used as downcast can silently lose const)
PR c++/39415 * typeck.c (build_static_cast_1): Convert to the target type when doing static_cast<cv Derived*>(Base*). From-SVN: r166667
Showing
gcc/testsuite/g++.dg/expr/static_cast7.C
0 → 100644
Please
register
or
sign in
to comment