template17.C
113 Bytes
-
re PR c++/23841 (Floating-point literals cast to integral types should be… · 060e7327
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
Mark Mitchell committed