re PR c++/23841 (Floating-point literals cast to integral types should be…
re PR c++/23841 (Floating-point literals cast to integral types should be accepted in integer constant expressions) PR c++/23841 * parser.c (cp_parser_primary_expression): Recognize the closing ">" of a template-argument-list after a floating-point literal as the end of a cast expression. PR c++/23841 * g++.dg/parse/template17.C: New test. From-SVN: r104208
Showing
gcc/testsuite/g++.dg/parse/template17.C
0 → 100644
Please
register
or
sign in
to comment