Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2017-12-29-a
/
.
/
utils
/
test-clustered-bit-vector
/
test.cpp
blob: 64641eea5045b6d58ead51f842f44d34c6b391b0 [
file
] [
log
] [
blame
]
#include
"swift/Basic/ClusteredBitVector.h"
using
namespace
swift
;
int
main
()
{
ClusteredBitVector
cbvs
[
16
];
cbvs
[
7
].
appendSetBits
(
65
);
cbvs
[
3
].
appendClearBits
(
118
);
cbvs
[
7
]
=
std
::
move
(
cbvs
[
3
]);
assert
(!
cbvs
[
7
][
64
]);
}