gcc/libstdc++-v3/testsuite/libstdc++-prettyprinters
Jonathan Wakely a8c7c3a409 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.
2024-03-13 21:25:14 +00:00
..
48362.cc Update copyright years. 2024-01-03 12:19:35 +01:00
59161.cc Update copyright years. 2024-01-03 12:19:35 +01:00
80276.cc Update copyright years. 2024-01-03 12:19:35 +01:00
91997.cc Update copyright years. 2024-01-03 12:19:35 +01:00
chrono.cc libstdc++: Handle invalid values in std::chrono pretty printers 2023-08-11 14:33:01 +01:00
compat.cc Update copyright years. 2024-01-03 12:19:35 +01:00
cxx11.cc libstdc++: Move test error_category to global scope 2024-03-13 21:25:14 +00:00
cxx17.cc Update copyright years. 2024-01-03 12:19:35 +01:00
cxx20.cc Update copyright years. 2024-01-03 12:19:35 +01:00
debug.cc Update copyright years. 2024-01-03 12:19:35 +01:00
debug_cxx11.cc Update copyright years. 2024-01-03 12:19:35 +01:00
filesystem-ts.cc Update copyright years. 2024-01-03 12:19:35 +01:00
libfundts.cc Update copyright years. 2024-01-03 12:19:35 +01:00
locale.cc libstdc++: Add pretty printer for std::locale 2023-08-24 13:40:25 +01:00
prettyprinters.exp Update copyright years. 2024-01-03 12:19:35 +01:00
shared_ptr.cc Update copyright years. 2024-01-03 12:19:35 +01:00
simple.cc Update copyright years. 2024-01-03 12:19:35 +01:00
simple11.cc Update copyright years. 2024-01-03 12:19:35 +01:00
tr1.cc Update copyright years. 2024-01-03 12:19:35 +01:00
whatis.cc Update copyright years. 2024-01-03 12:19:35 +01:00
whatis2.cc Update copyright years. 2024-01-03 12:19:35 +01:00