diff --git a/src/test-map.cc b/src/test-map.cc index 2a7b27c56..c19f030e8 100644 --- a/src/test-map.cc +++ b/src/test-map.cc @@ -266,6 +266,12 @@ main (int argc, char **argv) assert (m3.has (3)); } + /* Test reset. */ + { + hb_hashmap_t m; + m.set (1, hb_set_t {1, 2, 3}); + m.reset (); + } return 0; }