[test-vector] Test inserting set and map

pull/3885/head
Behdad Esfahbod 2 years ago
parent 0a97d27c2b
commit f734c26c5c
  1. 13
      src/test-vector.cc

@ -26,6 +26,7 @@
#include "hb.hh"
#include "hb-vector.hh"
#include "hb-set.hh"
#include "hb-map.hh"
#include <string>
@ -164,5 +165,17 @@ main (int argc, char **argv)
v2.remove (50);
}
{
hb_vector_t<hb_set_t> v;
hb_set_t s {1, 5, 7};
v.push (s);
}
{
hb_vector_t<hb_set_t> v;
hb_map_t m;
v.push (m);
}
return 0;
}

Loading…
Cancel
Save