diff options
author | Nathan Sidwell <nathan@acm.org> | 2021-03-08 11:55:26 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2021-03-08 11:58:00 -0800 |
commit | bc56d27de97ecea813279ce5ba45b278dcccfe21 (patch) | |
tree | 51a413c4ef8cda9316f6cda472c8a688e187d619 /gcc/cp/name-lookup.c | |
parent | 504450c708ca85fe41a09924630fec945bab913b (diff) | |
download | gcc-bc56d27de97ecea813279ce5ba45b278dcccfe21.zip gcc-bc56d27de97ecea813279ce5ba45b278dcccfe21.tar.gz gcc-bc56d27de97ecea813279ce5ba45b278dcccfe21.tar.bz2 |
C++: Enable c++2b module mode [PR 99436]
This adds support for c++23 mode to modules, and enables such testing.
PR c++/99436
gcc/cp/
* name-lookup.c (get_cxx_dialect_name): Add cxx23.
gcc/testsuite/
* g++.dg/modules/modules.exp (MOD_STD_LIST): Add 2b.
Diffstat (limited to 'gcc/cp/name-lookup.c')
-rw-r--r-- | gcc/cp/name-lookup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index 092fa6b..28271ba 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -6963,6 +6963,8 @@ get_cxx_dialect_name (enum cxx_dialect dialect) return "C++17"; case cxx20: return "C++20"; + case cxx23: + return "C++23"; } } |