re PR c++/79372 (ICE on C++ code with illegal decomposition declaration on…
re PR c++/79372 (ICE on C++ code with illegal decomposition declaration on x86_64-linux-gnu: in tsubst_decomp_names, at cp/pt.c:15599) PR c++/79372 * decl.c (cp_finish_decomp): On error set decl type to error_mark_node. * pt.c (tsubst_expr): Don't call tsubst_decomp_names on decompositions with error_mark_node type. * g++.dg/cpp1z/decomp25.C: New test. From-SVN: r245218
Showing
gcc/testsuite/g++.dg/cpp1z/decomp25.C
0 → 100644
Please
register
or
sign in
to comment