[llvm-branch-commits] [libcxx] c3edca9 - [libc++][NFC] Fix signature of main in test
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Aug 11 23:37:07 PDT 2022
Author: Louis Dionne
Date: 2022-08-12T08:36:00+02:00
New Revision: c3edca9e58a44fecff2e76de9a12127633d8bc60
URL: https://github.com/llvm/llvm-project/commit/c3edca9e58a44fecff2e76de9a12127633d8bc60
DIFF: https://github.com/llvm/llvm-project/commit/c3edca9e58a44fecff2e76de9a12127633d8bc60.diff
LOG: [libc++][NFC] Fix signature of main in test
(cherry picked from commit 27442728cd2e28bfaf0f2d89ad6378b4377e9c66)
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 llvm-branch-commits
mailing list