[algs] Test pair more

This commit is contained in:
Behdad Esfahbod 2019-02-14 20:15:07 -08:00
parent 0d7af5fb02
commit fa373584de
1 changed files with 4 additions and 0 deletions

View File

@ -41,5 +41,9 @@ main (int argc, char **argv)
auto pc = hb_pair (1, c);
assert (pc.second == 3);
auto q = p;
q.second = 4;
assert (i == 4);
return 0;
}