re PR c++/11867 (static_cast ignores ambiguity)
PR c++/11687 * call.c (standard_conversion): Improve comments. (perform_direct_initialization): Make sure we return an expression of the correct type. * typeck.c (build_static_cast): Check for ambiguity and accessibility when performing conversions. PR c++/11687 * g++.dg/expr/static_cast5.C: New test. From-SVN: r71157
Showing
gcc/testsuite/g++.dg/expr/static_cast5.C
0 → 100644
Please
register
or
sign in
to comment