re PR c++/20186 (ICE with static_cast and type dependent variable (templates))
cp: PR c++/20186 * pt.c (contains_dependent_cast_p): New. (fold_non_dependent_expr): Call it. testsuite: PR c++/20186 * g++.dg/template/non-dependent12.C: New. From-SVN: r96190
Showing
Please
register
or
sign in
to comment