aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-03-13 10:02:12 +0000
committerJonathan Wakely <jwakely@redhat.com>2024-03-13 21:25:14 +0000
commita8c7c3a40953e34f57278d224a07dc3698c64a84 (patch)
treee3b24b6bdc647365ddb60c3a3f8ce64ff33df13b /libcpp
parent45a3ee8a402cc51c02b7f45e8f041039390a4ef8 (diff)
downloadgcc-a8c7c3a40953e34f57278d224a07dc3698c64a84.zip
gcc-a8c7c3a40953e34f57278d224a07dc3698c64a84.tar.gz
gcc-a8c7c3a40953e34f57278d224a07dc3698c64a84.tar.bz2
libstdc++: Move test error_category to global scope
A recent GDB change causes this test to fail due to missing RTTI for the custom_cast type. This is presumably because the custom_cat type was defined as a local class, so has no linkage. Moving it to local scope seems to fix the test regressions, and probably makes the test more realistic as a local class with no linkage isn't practical to use as an error category that almost certainly needs to be referred to in other scopes. libstdc++-v3/ChangeLog: * testsuite/libstdc++-prettyprinters/cxx11.cc: Move custom_cat to namespace scope.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions