[test-map] Test inserting shared_ptr key

This commit is contained in:
Behdad Esfahbod 2022-11-18 19:21:58 -07:00
parent f657ef7e57
commit 90226eab89
1 changed files with 2 additions and 0 deletions

View File

@ -212,6 +212,8 @@ main (int argc, char **argv)
{
hb_hashmap_t<hb::shared_ptr<hb_set_t>, hb::shared_ptr<hb_set_t>> m;
m.set (hb::shared_ptr<hb_set_t> (hb_set_get_empty ()),
hb::shared_ptr<hb_set_t> (hb_set_get_empty ()));
m.get (hb::shared_ptr<hb_set_t> (hb_set_get_empty ()));
m.iter ();
m.keys ();