Skip to content

Commit 5764d91

Browse files
restore libcxx/test/std/containers/associative/iterator_types.pass.cpp
1 parent 7ce7dcd commit 5764d91

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

libcxx/test/std/containers/associative/iterator_types.pass.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void testSet() {
4646
}
4747
}
4848

49-
TEST_CONSTEXPR_CXX26 bool test() {
49+
int main(int, char**) {
5050
{
5151
typedef std::map<int, int> Map;
5252
typedef std::pair<const int, int> ValueTp;
@@ -124,12 +124,5 @@ TEST_CONSTEXPR_CXX26 bool test() {
124124
}
125125
#endif
126126

127-
return true;
128-
}
129-
int main(int, char**) {
130-
test();
131-
#if TEST_STD_VER >= 26
132-
static_assert(test());
133-
#endif
134127
return 0;
135128
}

0 commit comments

Comments
 (0)