re PR c++/78649 (ICE on invalid C++ code on x86_64-linux-gnu (internal compiler…
re PR c++/78649 (ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in build_value_init_noctor, at cp/init.c:380)) PR c++/78649 * pt.c (tsubst_init): Don't call build_value_init if decl's type is error_mark_node. * g++.dg/cpp0x/pr78649.C: New test. From-SVN: r243204
Showing
gcc/testsuite/g++.dg/cpp0x/pr78649.C
0 → 100644
Please
register
or
sign in
to comment