re PR c++/29000 (ICE on invalid use of template in statement-expr)
PR c++/29000
* pt.c (build_non_dependent_expr, type_dependent_expression_p):
Look inside STMT_EXPR.
* semantics.c (stmt_expr_value_expr): New fn.
* cp-tree.h: Declare it.
* g++.dg/ext/stmtexpr12.C: New test.
From-SVN: r127868
Showing
gcc/testsuite/g++.dg/ext/stmtexpr12.C
0 → 100644
Please
register
or
sign in
to comment