diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-05-01 14:49:48 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-05-01 14:49:48 +0100 |
commit | 187c854cc6284f546c151d6b6d4574d061e00d71 (patch) | |
tree | 03e369244fd07835b977ae2c3adea6aa5dc05768 /libstdc++-v3 | |
parent | a5f2fb1ff1742685a91dfdf78da871fd4d3292e5 (diff) | |
download | gcc-187c854cc6284f546c151d6b6d4574d061e00d71.tar.gz |
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.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/badnames.cc | 15 |
2 files changed, 19 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 152c69f843f..1bf10811c3b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,4 +1,9 @@ 2020-05-01 Jonathan Wakely <jwakely@redhat.com> + + PR libstdc++/94901 + * testsuite/17_intro/badnames.cc: Test values between _E9 and _E24 too. + +2020-05-01 Jonathan Wakely <jwakely@redhat.com> Patrick Palka <ppalka@redhat.com> PR libstdc++/92894 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: |