pr57942.C
175 Bytes
-
re PR c++/57942 (g++-4.8.1 tries to instantiate wrong constructor) · 3f2d352c
/cp 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57942 * typeck.c (ptr_reasonably_similar): Use COMPARE_STRICT if one of the target types is incomplete; return a bool, not an int. * cp-tree.h (ptr_reasonably_similar): Adjust declaration. /testsuite 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57942 * g++.dg/inherit/pr57942.C: New. From-SVN: r201201
Paolo Carlini committed