[libcxx-commits] [libcxx] [libc++] [test] Improve test coverage for containers' scary.pass.cpp (PR #131550)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Mar 16 23:57:05 PDT 2025
================
@@ -8,20 +8,19 @@
// <map>
-// class map class multimap
+// class map
+// class multimap
-// Extension: SCARY/N2913 iterator compatibility between map and multimap
+// Extension: SCARY/N2913 iterator compatibility between map and multimap
#include <map>
#include "test_macros.h"
-int main(int, char**) {
+void test() {
----------------
frederick-vs-ja wrote:
I think these files should be renamed to `*.compile.pass.cpp` as the `main` functions are removed, and, IIUC, runtime detection would be redundant if iterator types are the same.
https://github.com/llvm/llvm-project/pull/131550
More information about the libcxx-commits
mailing list