>> Just a guess, but maybe making the type global instead of a local type
>> (with no linkage) will solve it:
>>
>> --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc
>> +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc
>> @@ -63,6 +63,11 @@ struct datum
>>
>> std::unique
>>>>> Maxim Kuvyrkov writes:
>> | commit gdb-14-branchpoint-1356-g7737b133640
>> | Author: Tom Tromey
>> | Date: Tue Jan 9 11:47:17 2024 -0700
>> |
>> | Handle DW_AT_endianity on enumeration types
>> |
>> | A user fou