We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ce7dcd commit 5764d91Copy full SHA for 5764d91
libcxx/test/std/containers/associative/iterator_types.pass.cpp
@@ -46,7 +46,7 @@ void testSet() {
46
}
47
48
49
-TEST_CONSTEXPR_CXX26 bool test() {
+int main(int, char**) {
50
{
51
typedef std::map<int, int> Map;
52
typedef std::pair<const int, int> ValueTp;
@@ -124,12 +124,5 @@ TEST_CONSTEXPR_CXX26 bool test() {
124
125
#endif
126
127
- return true;
128
-}
129
-int main(int, char**) {
130
- test();
131
-#if TEST_STD_VER >= 26
132
- static_assert(test());
133
-#endif
134
return 0;
135
0 commit comments