mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1143077 (Followup) - Add assignments to Pair test.
This commit is contained in:
parent
a6c30c7c5f
commit
309013ae81
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user