This repository was archived by the owner on Mar 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +17
-14
lines changed
tests/compatibility/version Expand file tree Collapse file tree 6 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 66int
77main ()
88{
9- static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " " );
10- static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 10 , " " );
9+ static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " Wrong major version" );
10+ static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 10 ,
11+ " Wrong minor version" );
1112}
Original file line number Diff line number Diff line change 66int
77main ()
88{
9- static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " " );
10- static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 11 , " " );
9+ static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " Wrong major version" );
10+ static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 11 ,
11+ " Wrong minor version" );
1112}
Original file line number Diff line number Diff line change 66int
77main ()
88{
9- static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " " );
10- static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 12 , " " );
9+ static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " Wrong major version" );
10+ static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 12 ,
11+ " Wrong minor version" );
1112}
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: BSD-3-Clause
2- /* Copyright 2020, Intel Corporation */
2+ /* Copyright 2020-2021 , Intel Corporation */
33
44#include < libpmemobj++/version.hpp>
55
66int
77main ()
88{
9- static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " " );
10- static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 7 , " " );
9+ static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " Wrong major version " );
10+ static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 7 , " Wrong minor version " );
1111}
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: BSD-3-Clause
2- /* Copyright 2020, Intel Corporation */
2+ /* Copyright 2020-2021 , Intel Corporation */
33
44#include < libpmemobj++/version.hpp>
55
66int
77main ()
88{
9- static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " " );
10- static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 8 , " " );
9+ static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " Wrong major version " );
10+ static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 8 , " Wrong minor version " );
1111}
Original file line number Diff line number Diff line change 66int
77main ()
88{
9- static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " " );
10- static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 9 , " " );
9+ static_assert (LIBPMEMOBJ_CPP_VERSION_MAJOR == 1 , " Wrong major version " );
10+ static_assert (LIBPMEMOBJ_CPP_VERSION_MINOR == 9 , " Wrong minor version " );
1111}
You can’t perform that action at this time.
0 commit comments