c++: Test for mixed string literal concatenation
authorJason Merrill <jason@redhat.com>
Tue, 8 Jun 2021 18:38:42 +0000 (14:38 -0400)
committerJason Merrill <jason@redhat.com>
Tue, 8 Jun 2021 19:34:43 +0000 (15:34 -0400)
commit924e02553af64b10c485711d635c0bc0265a8743
tree45afa5bddc6a3a0d426ab0e145e2c1986a50ef07
parent5668b5d09ae8f942e79b6d4473ba285a496b9a57
c++: Test for mixed string literal concatenation

From wg21.link/p2201r1

gcc/cp/ChangeLog:

* parser.c (cp_parser_string_literal): Adjust diagnostic.

gcc/testsuite/ChangeLog:

* g++.dg/cpp23/mixed-concat1.C: New test.
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp23/mixed-concat1.C [new file with mode: 0644]