diff options
author | Marek Polacek <polacek@redhat.com> | 2023-07-18 13:26:39 -0400 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2023-07-18 13:32:13 -0400 |
commit | fca089e8a47314a40ad93527ba9f9d0d374b3afb (patch) | |
tree | 66d79af2ae7fb8f3965212afd78e4646d811a559 /libgcc | |
parent | 05fc7db93452841280ddc5cdf71b33498ed576dc (diff) | |
download | gcc-fca089e8a47314a40ad93527ba9f9d0d374b3afb.zip gcc-fca089e8a47314a40ad93527ba9f9d0d374b3afb.tar.gz gcc-fca089e8a47314a40ad93527ba9f9d0d374b3afb.tar.bz2 |
c++: Add tests for P2621, no UB in lexer [PR110340]
C++26 P2621 removes UB in the lexer and either makes the construct valid
or ill-formed. We're already handling this correctly so this patch only
adds tests.
PR c++/110340
gcc/testsuite/ChangeLog:
* g++.dg/cpp/string-4.C: New test.
* g++.dg/cpp/ucn-2.C: New test.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions