[libcxx-commits] [libcxx] 2744272 - [libc++][NFC] Fix signature of main in test
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 8 06:30:49 PDT 2022
Author: Louis Dionne
Date: 2022-08-08T09:30:29-04:00
New Revision: 27442728cd2e28bfaf0f2d89ad6378b4377e9c66
URL: https://github.com/llvm/llvm-project/commit/27442728cd2e28bfaf0f2d89ad6378b4377e9c66
DIFF: https://github.com/llvm/llvm-project/commit/27442728cd2e28bfaf0f2d89ad6378b4377e9c66.diff
LOG: [libc++][NFC] Fix signature of main in test
Added:
Modified:
libcxx/test/support/test.support/test_proxy.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/support/test.support/test_proxy.pass.cpp b/libcxx/test/support/test.support/test_proxy.pass.cpp
index 29583865deae9..8eef9fd6fcdef 100644
--- a/libcxx/test/support/test.support/test_proxy.pass.cpp
+++ b/libcxx/test/support/test.support/test_proxy.pass.cpp
@@ -293,7 +293,7 @@ constexpr bool test() {
return true;
}
-int main(int, const char**) {
+int main(int, char**) {
test();
static_assert(test());
More information about the libcxx-commits
mailing list