Bug 1143077 (Followup) - Add assignments to Pair test.

This commit is contained in:
Seth Fowler 2015-03-17 19:40:17 -07:00
parent a6c30c7c5f
commit 309013ae81

View File

@ -75,5 +75,9 @@ main()
static_assert(IsSame<decltype(MakePair(constA, constB)), Pair<A, B>>::value,
"MakePair should strip CV-qualifiers");
// Check that copy assignment and move assignment work.
a = constA;
a = A(0);
return 0;
}