testsuite: Add testcase from C++23 P2314R4 - Character sets and encodings
authorJakub Jelinek <jakub@redhat.com>
Fri, 4 Nov 2022 17:20:36 +0000 (18:20 +0100)
committerJakub Jelinek <jakub@redhat.com>
Fri, 4 Nov 2022 17:20:36 +0000 (18:20 +0100)
commit95ba31bc4f88a0a2ff9f0ed41f3478cafcb9e040
treecf8ec068a9fa80e9159d122ae34f883835f39bc8
parent2662d537b0397b3d8cd6e8ea0568d310f0b85f87
testsuite: Add testcase from C++23 P2314R4 - Character sets and encodings

I've read the paper and I believe we just implement it with no changes
needed (at least since PR67224 and similar libcpp changes in GCC 10),
but I could be wrong.

The following patch at least adds a testcase from the start of the paper.

2022-11-04  Jakub Jelinek  <jakub@redhat.com>

* g++.dg/cpp23/charset1.C: New testcase from C++23 P2314R4.
gcc/testsuite/g++.dg/cpp23/charset1.C [new file with mode: 0644]