Skip to content

Commit a6c5e82

Browse files
Drop empty main functions, rename to MEOW.compile.pass.cpp.
1 parent 45964eb commit a6c5e82

File tree

17 files changed

+0
-34
lines changed

17 files changed

+0
-34
lines changed

libcxx/test/std/atomics/atomics.ref/member_types.pass.cpp renamed to libcxx/test/std/atomics/atomics.ref/member_types.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,3 @@ void testall() {
128128
test<long double>();
129129
// + TODO extended floating-point types
130130
}
131-
132-
int main(int, char**) { return 0; }

libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp renamed to libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,3 @@ static_assert(std::totally_ordered<partial_ordering_totally_ordered_with>);
168168
static_assert(std::totally_ordered<weak_ordering_totally_ordered_with>);
169169
static_assert(std::totally_ordered<strong_ordering_totally_ordered_with>);
170170
} // namespace types_fit_for_purpose
171-
172-
int main(int, char**) { return 0; }

libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp renamed to libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,5 +1134,3 @@ static_assert(
11341134
!check_totally_ordered_with<totally_ordered_with_others,
11351135
no_ge_not_totally_ordered_with>());
11361136
} // namespace types_fit_for_purpose
1137-
1138-
int main(int, char**) { return 0; }

libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.pass.cpp renamed to libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,3 @@ static_assert(!CheckFloatingPointQualifiers<ScopedEnum>());
7474
static_assert(!CheckFloatingPointQualifiers<EmptyStruct>());
7575
static_assert(!CheckFloatingPointQualifiers<int EmptyStruct::*>());
7676
static_assert(!CheckFloatingPointQualifiers<int (EmptyStruct::*)()>());
77-
78-
int main(int, char**) { return 0; }

libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp renamed to libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,3 @@ static_assert(!CheckIntegralQualifiers<int (EmptyStruct::*)()>());
8888

8989
static_assert(CheckSubsumption(0));
9090
static_assert(CheckSubsumption(0U));
91-
92-
int main(int, char**) { return 0; }

libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp renamed to libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,3 @@ static_assert(!CheckSignedIntegralQualifiers<int (EmptyStruct::*)()>());
9292

9393
static_assert(CheckSubsumption(0));
9494
static_assert(CheckSubsumption(0U));
95-
96-
int main(int, char**) { return 0; }

libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp renamed to libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,3 @@ static_assert(!CheckUnsignedIntegralQualifiers<int (EmptyStruct::*)()>());
9393

9494
static_assert(CheckSubsumption(0));
9595
static_assert(CheckSubsumption(0U));
96-
97-
int main(int, char**) { return 0; }

libcxx/test/std/containers/associative/map/gcc_workaround.pass.cpp renamed to libcxx/test/std/containers/associative/map/gcc_workaround.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@ std::map<int,int>::iterator it;
1515
#include "test_macros.h"
1616
using std::set;
1717
using std::multiset;
18-
19-
int main(int, char**) { return 0; }

libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp renamed to libcxx/test/std/containers/associative/map/map.cons/default_recursive.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,3 @@ struct X
2727
std::map<int, X>::const_reverse_iterator cri;
2828
#endif // TEST_STD_VER <= 17
2929
};
30-
31-
int main(int, char**) { return 0; }

libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp renamed to libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,3 @@ struct X
2727
std::multimap<int, X>::const_reverse_iterator cri;
2828
#endif // TEST_STD_VER <= 17
2929
};
30-
31-
int main(int, char**) { return 0; }

0 commit comments

Comments
 (0)