[algs] Test pair more
This commit is contained in:
parent
0d7af5fb02
commit
fa373584de
|
@ -41,5 +41,9 @@ main (int argc, char **argv)
|
||||||
auto pc = hb_pair (1, c);
|
auto pc = hb_pair (1, c);
|
||||||
assert (pc.second == 3);
|
assert (pc.second == 3);
|
||||||
|
|
||||||
|
auto q = p;
|
||||||
|
q.second = 4;
|
||||||
|
assert (i == 4);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue