================ @@ -267,6 +267,30 @@ TEST(MapVectorTest, NonCopyable) { ASSERT_EQ(*MV.find(2)->second, 2); } +TEST(MapVectorTest, EnumClassKey) { ---------------- nikic wrote: Why test this through MapVector rather than DenseMap directly? https://github.com/llvm/llvm-project/pull/95972