[libcxx-commits] [libcxx] c4f059e - [libc++][NFC] Add missing 'return 0' to test
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 14 13:08:55 PDT 2022
Author: Louis Dionne
Date: 2022-04-14T16:08:43-04:00
New Revision: c4f059e5094edd216761fd8345ceb6345836d91d
URL: https://github.com/llvm/llvm-project/commit/c4f059e5094edd216761fd8345ceb6345836d91d
DIFF: https://github.com/llvm/llvm-project/commit/c4f059e5094edd216761fd8345ceb6345836d91d.diff
LOG: [libc++][NFC] Add missing 'return 0' to test
Added:
Modified:
libcxx/test/std/utilities/memory/allocator.traits/allocate_at_least.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/utilities/memory/allocator.traits/allocate_at_least.pass.cpp b/libcxx/test/std/utilities/memory/allocator.traits/allocate_at_least.pass.cpp
index 14a500e2d9d04..2af85f78d47d3 100644
--- a/libcxx/test/std/utilities/memory/allocator.traits/allocate_at_least.pass.cpp
+++ b/libcxx/test/std/utilities/memory/allocator.traits/allocate_at_least.pass.cpp
@@ -60,7 +60,9 @@ constexpr bool test() {
return true;
}
-int main() {
+int main(int, char**) {
test();
static_assert(test());
+
+ return 0;
}
More information about the libcxx-commits
mailing list