[test-vector] Test sink-move'ing
This commit is contained in:
parent
a3a218edb5
commit
039e476bac
|
@ -170,6 +170,9 @@ main (int argc, char **argv)
|
|||
hb_set_t s {1, 5, 7};
|
||||
v.push (s);
|
||||
v << s;
|
||||
assert (s.get_population () == 3);
|
||||
v << std::move (s);
|
||||
assert (s.get_population () == 0);
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue