mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 10:07:41 +08:00
[libcxx] [test] Fix whitespace, NFC.
test/std almost always uses spaces; now it is entirely tab-free. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@329978 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -22,14 +22,14 @@ constexpr int gi = 5;
|
||||
constexpr float gf = 8.f;
|
||||
|
||||
int main() {
|
||||
static_assert(std::launder(&gi) == &gi, "" );
|
||||
static_assert(std::launder(&gf) == &gf, "" );
|
||||
static_assert(std::launder(&gi) == &gi, "" );
|
||||
static_assert(std::launder(&gf) == &gf, "" );
|
||||
|
||||
const int *i = &gi;
|
||||
const float *f = &gf;
|
||||
const int *i = &gi;
|
||||
const float *f = &gf;
|
||||
static_assert(std::is_same<decltype(i), decltype(std::launder(i))>::value, "");
|
||||
static_assert(std::is_same<decltype(f), decltype(std::launder(f))>::value, "");
|
||||
|
||||
assert(std::launder(i) == i);
|
||||
assert(std::launder(f) == f);
|
||||
assert(std::launder(i) == i);
|
||||
assert(std::launder(f) == f);
|
||||
}
|
||||
|
Reference in New Issue
Block a user