From caaed5c3ca2c17d161c210174a257286a1034b52 Mon Sep 17 00:00:00 2001 From: jarzec Date: Sun, 1 Feb 2026 17:20:41 +0100 Subject: [PATCH] CI Add singleton test files missing for some compilers --- .../pure2-singleton-and-static.cpp.execution | 1 + .../apple-clang-15-c++2b/pure2-try-catch.cpp.execution | 2 ++ .../pure2-singleton-and-static.cpp.execution | 1 + .../clang-15-c++20-libcpp/pure2-try-catch.cpp.execution | 2 ++ .../clang-15-c++20/pure2-singleton-and-static.cpp.execution | 1 + .../clang-15-c++20/pure2-try-catch.cpp.execution | 2 ++ .../clang-19-c++20/pure2-singleton-and-static.cpp.execution | 1 + .../clang-19-c++20/pure2-try-catch.cpp.execution | 2 ++ .../pure2-singleton-and-static.cpp.execution | 1 + .../pure2-singleton-and-static.cpp.output | 4 ++++ .../clang-19-c++23-libcpp/pure2-try-catch.cpp.execution | 2 ++ .../gcc-13-c++2b/pure2-singleton-and-static.cpp.execution | 1 + .../gcc-13-c++2b/pure2-singleton-and-static.cpp.output | 6 ++++++ .../test-results/gcc-13-c++2b/pure2-try-catch.cpp.execution | 2 ++ .../gcc-14-c++2b/pure2-singleton-and-static.cpp.output | 6 ++++++ 15 files changed, 34 insertions(+) create mode 100644 regression-tests/test-results/apple-clang-15-c++2b/pure2-singleton-and-static.cpp.execution create mode 100644 regression-tests/test-results/apple-clang-15-c++2b/pure2-try-catch.cpp.execution create mode 100644 regression-tests/test-results/clang-15-c++20-libcpp/pure2-singleton-and-static.cpp.execution create mode 100644 regression-tests/test-results/clang-15-c++20-libcpp/pure2-try-catch.cpp.execution create mode 100644 regression-tests/test-results/clang-15-c++20/pure2-singleton-and-static.cpp.execution create mode 100644 regression-tests/test-results/clang-15-c++20/pure2-try-catch.cpp.execution create mode 100644 regression-tests/test-results/clang-19-c++20/pure2-singleton-and-static.cpp.execution create mode 100644 regression-tests/test-results/clang-19-c++20/pure2-try-catch.cpp.execution create mode 100644 regression-tests/test-results/clang-19-c++23-libcpp/pure2-singleton-and-static.cpp.execution create mode 100644 regression-tests/test-results/clang-19-c++23-libcpp/pure2-singleton-and-static.cpp.output create mode 100644 regression-tests/test-results/clang-19-c++23-libcpp/pure2-try-catch.cpp.execution create mode 100644 regression-tests/test-results/gcc-13-c++2b/pure2-singleton-and-static.cpp.execution create mode 100644 regression-tests/test-results/gcc-13-c++2b/pure2-singleton-and-static.cpp.output create mode 100644 regression-tests/test-results/gcc-13-c++2b/pure2-try-catch.cpp.execution create mode 100644 regression-tests/test-results/gcc-14-c++2b/pure2-singleton-and-static.cpp.output diff --git a/regression-tests/test-results/apple-clang-15-c++2b/pure2-singleton-and-static.cpp.execution b/regression-tests/test-results/apple-clang-15-c++2b/pure2-singleton-and-static.cpp.execution new file mode 100644 index 000000000..d81cc0710 --- /dev/null +++ b/regression-tests/test-results/apple-clang-15-c++2b/pure2-singleton-and-static.cpp.execution @@ -0,0 +1 @@ +42 diff --git a/regression-tests/test-results/apple-clang-15-c++2b/pure2-try-catch.cpp.execution b/regression-tests/test-results/apple-clang-15-c++2b/pure2-try-catch.cpp.execution new file mode 100644 index 000000000..c37cb6b5f --- /dev/null +++ b/regression-tests/test-results/apple-clang-15-c++2b/pure2-try-catch.cpp.execution @@ -0,0 +1,2 @@ +oh look, a thrown int: 42 +oh look, another exception diff --git a/regression-tests/test-results/clang-15-c++20-libcpp/pure2-singleton-and-static.cpp.execution b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-singleton-and-static.cpp.execution new file mode 100644 index 000000000..d81cc0710 --- /dev/null +++ b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-singleton-and-static.cpp.execution @@ -0,0 +1 @@ +42 diff --git a/regression-tests/test-results/clang-15-c++20-libcpp/pure2-try-catch.cpp.execution b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-try-catch.cpp.execution new file mode 100644 index 000000000..c37cb6b5f --- /dev/null +++ b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-try-catch.cpp.execution @@ -0,0 +1,2 @@ +oh look, a thrown int: 42 +oh look, another exception diff --git a/regression-tests/test-results/clang-15-c++20/pure2-singleton-and-static.cpp.execution b/regression-tests/test-results/clang-15-c++20/pure2-singleton-and-static.cpp.execution new file mode 100644 index 000000000..d81cc0710 --- /dev/null +++ b/regression-tests/test-results/clang-15-c++20/pure2-singleton-and-static.cpp.execution @@ -0,0 +1 @@ +42 diff --git a/regression-tests/test-results/clang-15-c++20/pure2-try-catch.cpp.execution b/regression-tests/test-results/clang-15-c++20/pure2-try-catch.cpp.execution new file mode 100644 index 000000000..c37cb6b5f --- /dev/null +++ b/regression-tests/test-results/clang-15-c++20/pure2-try-catch.cpp.execution @@ -0,0 +1,2 @@ +oh look, a thrown int: 42 +oh look, another exception diff --git a/regression-tests/test-results/clang-19-c++20/pure2-singleton-and-static.cpp.execution b/regression-tests/test-results/clang-19-c++20/pure2-singleton-and-static.cpp.execution new file mode 100644 index 000000000..d81cc0710 --- /dev/null +++ b/regression-tests/test-results/clang-19-c++20/pure2-singleton-and-static.cpp.execution @@ -0,0 +1 @@ +42 diff --git a/regression-tests/test-results/clang-19-c++20/pure2-try-catch.cpp.execution b/regression-tests/test-results/clang-19-c++20/pure2-try-catch.cpp.execution new file mode 100644 index 000000000..c37cb6b5f --- /dev/null +++ b/regression-tests/test-results/clang-19-c++20/pure2-try-catch.cpp.execution @@ -0,0 +1,2 @@ +oh look, a thrown int: 42 +oh look, another exception diff --git a/regression-tests/test-results/clang-19-c++23-libcpp/pure2-singleton-and-static.cpp.execution b/regression-tests/test-results/clang-19-c++23-libcpp/pure2-singleton-and-static.cpp.execution new file mode 100644 index 000000000..d81cc0710 --- /dev/null +++ b/regression-tests/test-results/clang-19-c++23-libcpp/pure2-singleton-and-static.cpp.execution @@ -0,0 +1 @@ +42 diff --git a/regression-tests/test-results/clang-19-c++23-libcpp/pure2-singleton-and-static.cpp.output b/regression-tests/test-results/clang-19-c++23-libcpp/pure2-singleton-and-static.cpp.output new file mode 100644 index 000000000..55da22639 --- /dev/null +++ b/regression-tests/test-results/clang-19-c++23-libcpp/pure2-singleton-and-static.cpp.output @@ -0,0 +1,4 @@ +pure2-singleton-and-static.cpp2:8:21: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] + 8 | CPP2_UFCS(print)(test::instance()); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +1 warning generated. diff --git a/regression-tests/test-results/clang-19-c++23-libcpp/pure2-try-catch.cpp.execution b/regression-tests/test-results/clang-19-c++23-libcpp/pure2-try-catch.cpp.execution new file mode 100644 index 000000000..c37cb6b5f --- /dev/null +++ b/regression-tests/test-results/clang-19-c++23-libcpp/pure2-try-catch.cpp.execution @@ -0,0 +1,2 @@ +oh look, a thrown int: 42 +oh look, another exception diff --git a/regression-tests/test-results/gcc-13-c++2b/pure2-singleton-and-static.cpp.execution b/regression-tests/test-results/gcc-13-c++2b/pure2-singleton-and-static.cpp.execution new file mode 100644 index 000000000..d81cc0710 --- /dev/null +++ b/regression-tests/test-results/gcc-13-c++2b/pure2-singleton-and-static.cpp.execution @@ -0,0 +1 @@ +42 diff --git a/regression-tests/test-results/gcc-13-c++2b/pure2-singleton-and-static.cpp.output b/regression-tests/test-results/gcc-13-c++2b/pure2-singleton-and-static.cpp.output new file mode 100644 index 000000000..bcd2adf5e --- /dev/null +++ b/regression-tests/test-results/gcc-13-c++2b/pure2-singleton-and-static.cpp.output @@ -0,0 +1,6 @@ +pure2-singleton-and-static.cpp2: In function ‘int main()’: +pure2-singleton-and-static.cpp2:8:21: warning: ignoring return value of ‘main():: [with Obj = test&; Params = {}; bool IsNothrow = false]’, declared with attribute ‘nodiscard’ [-Wunused-result] +In file included from pure2-singleton-and-static.cpp:7: +../../../include/cpp2util.h:10059:1: note: declared here +../../../include/cpp2util.h:10091:59: note: in expansion of macro ‘CPP2_UFCS_’ +pure2-singleton-and-static.cpp2:8:5: note: in expansion of macro ‘CPP2_UFCS’ diff --git a/regression-tests/test-results/gcc-13-c++2b/pure2-try-catch.cpp.execution b/regression-tests/test-results/gcc-13-c++2b/pure2-try-catch.cpp.execution new file mode 100644 index 000000000..c37cb6b5f --- /dev/null +++ b/regression-tests/test-results/gcc-13-c++2b/pure2-try-catch.cpp.execution @@ -0,0 +1,2 @@ +oh look, a thrown int: 42 +oh look, another exception diff --git a/regression-tests/test-results/gcc-14-c++2b/pure2-singleton-and-static.cpp.output b/regression-tests/test-results/gcc-14-c++2b/pure2-singleton-and-static.cpp.output new file mode 100644 index 000000000..bcd2adf5e --- /dev/null +++ b/regression-tests/test-results/gcc-14-c++2b/pure2-singleton-and-static.cpp.output @@ -0,0 +1,6 @@ +pure2-singleton-and-static.cpp2: In function ‘int main()’: +pure2-singleton-and-static.cpp2:8:21: warning: ignoring return value of ‘main():: [with Obj = test&; Params = {}; bool IsNothrow = false]’, declared with attribute ‘nodiscard’ [-Wunused-result] +In file included from pure2-singleton-and-static.cpp:7: +../../../include/cpp2util.h:10059:1: note: declared here +../../../include/cpp2util.h:10091:59: note: in expansion of macro ‘CPP2_UFCS_’ +pure2-singleton-and-static.cpp2:8:5: note: in expansion of macro ‘CPP2_UFCS’