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; }

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

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

libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.pass.cpp renamed to libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,3 @@ struct different_value_element_members {
6969
using element_type = long;
7070
};
7171
static_assert(check_no_iter_value_t<different_value_element_members>());
72-
73-
int main(int, char**) { return 0; }

libcxx/test/std/numerics/numbers/user_type.pass.cpp renamed to libcxx/test/std/numerics/numbers/user_type.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,3 @@ user std::numbers::egamma_v<user>{};
5252

5353
template <>
5454
user std::numbers::phi_v<user>{};
55-
56-
int main(int, char**) { return 0; }

libcxx/test/std/strings/strings.general/nothing_to_do.pass.cpp renamed to libcxx/test/std/strings/char.traits/char.traits.require/nothing_to_do.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
9-
int main(int, char**) { return 0; }

libcxx/test/std/strings/char.traits/char.traits.require/nothing_to_do.pass.cpp renamed to libcxx/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
9-
int main(int, char**) { return 0; }

libcxx/test/std/strings/string.view/string.view.synop/nothing_to_do.pass.cpp renamed to libcxx/test/std/strings/string.view/string.view.synop/nothing_to_do.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@
77
//===----------------------------------------------------------------------===//
88

99
#include <string_view>
10-
11-
int main(int, char**) { return 0; }

libcxx/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.pass.cpp renamed to libcxx/test/std/strings/strings.general/nothing_to_do.compile.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
9-
int main(int, char**) { return 0; }

0 commit comments

Comments
 (0)