From 187c854cc6284f546c151d6b6d4574d061e00d71 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 1 May 2020 14:49:48 +0100 Subject: [PATCH] libstdc++: Add more tests for _E10, _E11 etc. (PR 94901) PR libstdc++/94901 * testsuite/17_intro/badnames.cc: Test values between _E9 and _E24 too. --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/17_intro/badnames.cc | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 152c69f843f..1bf10811c3b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2020-05-01 Jonathan Wakely + + PR libstdc++/94901 + * testsuite/17_intro/badnames.cc: Test values between _E9 and _E24 too. + 2020-05-01 Jonathan Wakely Patrick Palka diff --git a/libstdc++-v3/testsuite/17_intro/badnames.cc b/libstdc++-v3/testsuite/17_intro/badnames.cc index aabd01255e2..c69b8c45d81 100644 --- a/libstdc++-v3/testsuite/17_intro/badnames.cc +++ b/libstdc++-v3/testsuite/17_intro/badnames.cc @@ -40,7 +40,20 @@ #define _E7 _E7 is a BADNAME #define _E8 _E8 is a BADNAME #define _E9 _E9 is a BADNAME - // .. +#define _E10 _E10 is a BADNAME +#define _E11 _E11 is a BADNAME +#define _E12 _E12 is a BADNAME +#define _E13 _E13 is a BADNAME +#define _E14 _E14 is a BADNAME +#define _E15 _E15 is a BADNAME +#define _E16 _E16 is a BADNAME +#define _E17 _E17 is a BADNAME +#define _E18 _E18 is a BADNAME +#define _E19 _E19 is a BADNAME +#define _E20 _E20 is a BADNAME +#define _E21 _E21 is a BADNAME +#define _E22 _E22 is a BADNAME +#define _E23 _E23 is a BADNAME #define _E24 _E24 is a BADNAME // Irix adds: -- 2.30.2