re PR c++/14545 (Cannot compile pooma-gcc (regression))
PR c++/14545 * parser.c (cp_parser_functional_cast): A cast to anything but integral or enumaration type is not an integral constant expression. * pt.c (value_dependent_expression_p): Handle cast expressions without operands (such as "int()"). PR c++/14545 * g++.dg/parse/template15.C: New test. From-SVN: r79672
Showing
gcc/testsuite/g++.dg/parse/template15.C
0 → 100644
Please
register
or
sign in
to comment