Skip to content

Commit 881d670

Browse files
committed
clang-format
1 parent 42535c7 commit 881d670

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/unit/operator_new_delete.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
#include <new>
33

44
int main() {
5-
auto a = static_cast<int*>(::operator new(sizeof(int)));
5+
auto a = static_cast<int *>(::operator new(sizeof(int)));
66
*a = 42;
77
assert(*a == 42);
88
::operator delete(a);
99

10-
auto arr = static_cast<int*>(::operator new[](sizeof(int) * 2));
10+
auto arr = static_cast<int *>(::operator new[](sizeof(int) * 2));
1111
arr[0] = 0;
1212
arr[1] = 1;
1313
assert(arr[0] + arr[1] == 1);

0 commit comments

Comments
 (0)