[libcxx-commits] [libcxx] 911e0d0 - [libc++][NFC] Move test to .compile.pass.cpp since it doesn't run anything
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 1 10:21:26 PST 2023
Author: Louis Dionne
Date: 2023-03-01T13:21:20-05:00
New Revision: 911e0d038d6aaef953c8813c0ee7888fd0234970
URL: https://github.com/llvm/llvm-project/commit/911e0d038d6aaef953c8813c0ee7888fd0234970
DIFF: https://github.com/llvm/llvm-project/commit/911e0d038d6aaef953c8813c0ee7888fd0234970.diff
LOG: [libc++][NFC] Move test to .compile.pass.cpp since it doesn't run anything
Added:
libcxx/test/libcxx/depr/enable_removed_cpp17_features.compile.pass.cpp
Modified:
Removed:
libcxx/test/libcxx/depr/enable_removed_cpp17_features.pass.cpp
################################################################################
diff --git a/libcxx/test/libcxx/depr/enable_removed_cpp17_features.pass.cpp b/libcxx/test/libcxx/depr/enable_removed_cpp17_features.compile.pass.cpp
similarity index 95%
rename from libcxx/test/libcxx/depr/enable_removed_cpp17_features.pass.cpp
rename to libcxx/test/libcxx/depr/enable_removed_cpp17_features.compile.pass.cpp
index 3ae848fcdfd0d..a734d8aa78bd9 100644
--- a/libcxx/test/libcxx/depr/enable_removed_cpp17_features.pass.cpp
+++ b/libcxx/test/libcxx/depr/enable_removed_cpp17_features.compile.pass.cpp
@@ -22,8 +22,3 @@
#ifndef _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
#error _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR must be defined
#endif
-
-int main(int, char**) {
-
- return 0;
-}
More information about the libcxx-commits
mailing list