From a24901f36928ca6cd05bb648c4baf4bcc25a2c16 Mon Sep 17 00:00:00 2001 From: Herb Sutter Date: Fri, 1 Nov 2024 16:33:29 -1000 Subject: [PATCH] Rerun regression --- ...x-for-dependent-types-recursion.cpp.output | 13 +++++++++ ...ure2-bugfix-for-dependent-types.cpp.output | 29 +++++++++++++++++++ ...x-for-dependent-types-recursion.cpp.output | 5 ++++ ...ure2-bugfix-for-dependent-types.cpp.output | 2 ++ ...x-for-dependent-types-recursion.cpp.output | 5 ++++ ...bugfix-for-deducible-parameters.cpp.output | 1 + ...x-for-dependent-types-recursion.cpp.output | 7 +++++ ...ure2-bugfix-for-dependent-types.cpp.output | 2 ++ 8 files changed, 64 insertions(+) create mode 100644 regression-tests/test-results/clang-12-c++20/pure2-bugfix-for-dependent-types-recursion.cpp.output create mode 100644 regression-tests/test-results/clang-12-c++20/pure2-bugfix-for-dependent-types.cpp.output create mode 100644 regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-dependent-types-recursion.cpp.output create mode 100644 regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-dependent-types.cpp.output create mode 100644 regression-tests/test-results/gcc-14-c++2b/pure2-bugfix-for-dependent-types-recursion.cpp.output create mode 100644 regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-deducible-parameters.cpp.output create mode 100644 regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-dependent-types-recursion.cpp.output create mode 100644 regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-dependent-types.cpp.output diff --git a/regression-tests/test-results/clang-12-c++20/pure2-bugfix-for-dependent-types-recursion.cpp.output b/regression-tests/test-results/clang-12-c++20/pure2-bugfix-for-dependent-types-recursion.cpp.output new file mode 100644 index 0000000000..42dbf4f1b3 --- /dev/null +++ b/regression-tests/test-results/clang-12-c++20/pure2-bugfix-for-dependent-types-recursion.cpp.output @@ -0,0 +1,13 @@ +pure2-bugfix-for-dependent-types-recursion.cpp2:2:13: error: unknown type name 'b' + using a = b; + ^ +pure2-bugfix-for-dependent-types-recursion.cpp2:3:13: error: unknown type name 'a' + using b = a; + ^ +pure2-bugfix-for-dependent-types-recursion.cpp2:4:21: error: use of undeclared identifier 'a' + static_cast(a::t); + ^ +pure2-bugfix-for-dependent-types-recursion.cpp2:5:21: error: use of undeclared identifier 'b' + static_cast(b::t); + ^ +4 errors generated. diff --git a/regression-tests/test-results/clang-12-c++20/pure2-bugfix-for-dependent-types.cpp.output b/regression-tests/test-results/clang-12-c++20/pure2-bugfix-for-dependent-types.cpp.output new file mode 100644 index 0000000000..c8b01efd27 --- /dev/null +++ b/regression-tests/test-results/clang-12-c++20/pure2-bugfix-for-dependent-types.cpp.output @@ -0,0 +1,29 @@ +pure2-bugfix-for-dependent-types.cpp2:5:22: error: missing 'typename' prior to dependent type name 'T::value_type' +template [[nodiscard]] auto f(cpp2::impl::in x) -> T::value_type; + ^~~~~~~~~~~~~ + typename +pure2-bugfix-for-dependent-types.cpp2:5:105: error: missing 'typename' prior to dependent type name 'T::value_type' +template [[nodiscard]] auto f(cpp2::impl::in x) -> T::value_type; + ^~~~~~~~~~~~~ + typename +pure2-bugfix-for-dependent-types.cpp2:56:12: error: missing 'typename' prior to dependent type name 'T::value_type' + private: T::value_type x {0}; + ^~~~~~~~~~~~~ + typename +pure2-bugfix-for-dependent-types.cpp2:5:22: error: missing 'typename' prior to dependent type name 'T::value_type' +template [[nodiscard]] auto f(cpp2::impl::in x) -> T::value_type{ + ^~~~~~~~~~~~~ + typename +pure2-bugfix-for-dependent-types.cpp2:5:105: error: missing 'typename' prior to dependent type name 'T::value_type' +template [[nodiscard]] auto f(cpp2::impl::in x) -> T::value_type{ + ^~~~~~~~~~~~~ + typename +pure2-bugfix-for-dependent-types.cpp2:9:13: error: missing 'typename' prior to dependent type name 'T::value_type' + using z = T::value_type; + ^~~~~~~~~~~~~ + typename +pure2-bugfix-for-dependent-types.cpp2:32:13: error: missing 'typename' prior to dependent type name 'T::type' + using a = T::type; + ^~~~~~~ + typename +7 errors generated. diff --git a/regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-dependent-types-recursion.cpp.output b/regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-dependent-types-recursion.cpp.output new file mode 100644 index 0000000000..71eb04160d --- /dev/null +++ b/regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-dependent-types-recursion.cpp.output @@ -0,0 +1,5 @@ +pure2-bugfix-for-dependent-types-recursion.cpp2: In function ‘int main()’: +pure2-bugfix-for-dependent-types-recursion.cpp2:2:13: error: ‘b’ does not name a type +pure2-bugfix-for-dependent-types-recursion.cpp2:3:13: error: ‘a’ does not name a type +pure2-bugfix-for-dependent-types-recursion.cpp2:4:21: error: ‘a’ has not been declared +pure2-bugfix-for-dependent-types-recursion.cpp2:5:21: error: ‘b’ has not been declared diff --git a/regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-dependent-types.cpp.output b/regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-dependent-types.cpp.output new file mode 100644 index 0000000000..69d94bfeba --- /dev/null +++ b/regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-dependent-types.cpp.output @@ -0,0 +1,2 @@ +pure2-bugfix-for-dependent-types.cpp2: In function ‘typename T::value_type f(cpp2::impl::in) [with T = std::integral_constant; typename T::value_type V = 0]’: +pure2-bugfix-for-dependent-types.cpp2:47:1: warning: control reaches end of non-void function [-Wreturn-type] diff --git a/regression-tests/test-results/gcc-14-c++2b/pure2-bugfix-for-dependent-types-recursion.cpp.output b/regression-tests/test-results/gcc-14-c++2b/pure2-bugfix-for-dependent-types-recursion.cpp.output new file mode 100644 index 0000000000..71eb04160d --- /dev/null +++ b/regression-tests/test-results/gcc-14-c++2b/pure2-bugfix-for-dependent-types-recursion.cpp.output @@ -0,0 +1,5 @@ +pure2-bugfix-for-dependent-types-recursion.cpp2: In function ‘int main()’: +pure2-bugfix-for-dependent-types-recursion.cpp2:2:13: error: ‘b’ does not name a type +pure2-bugfix-for-dependent-types-recursion.cpp2:3:13: error: ‘a’ does not name a type +pure2-bugfix-for-dependent-types-recursion.cpp2:4:21: error: ‘a’ has not been declared +pure2-bugfix-for-dependent-types-recursion.cpp2:5:21: error: ‘b’ has not been declared diff --git a/regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-deducible-parameters.cpp.output b/regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-deducible-parameters.cpp.output new file mode 100644 index 0000000000..4c61c68407 --- /dev/null +++ b/regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-deducible-parameters.cpp.output @@ -0,0 +1 @@ +pure2-bugfix-for-deducible-parameters.cpp diff --git a/regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-dependent-types-recursion.cpp.output b/regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-dependent-types-recursion.cpp.output new file mode 100644 index 0000000000..455ca359ce --- /dev/null +++ b/regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-dependent-types-recursion.cpp.output @@ -0,0 +1,7 @@ +pure2-bugfix-for-dependent-types-recursion.cpp +pure2-bugfix-for-dependent-types-recursion.cpp2(2): error C2061: syntax error: identifier 'b' +pure2-bugfix-for-dependent-types-recursion.cpp2(3): error C2061: syntax error: identifier 'a' +pure2-bugfix-for-dependent-types-recursion.cpp2(4): error C2653: 'a': is not a class or namespace name +pure2-bugfix-for-dependent-types-recursion.cpp2(4): error C2065: 't': undeclared identifier +pure2-bugfix-for-dependent-types-recursion.cpp2(5): error C2653: 'b': is not a class or namespace name +pure2-bugfix-for-dependent-types-recursion.cpp2(5): error C2065: 't': undeclared identifier diff --git a/regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-dependent-types.cpp.output b/regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-dependent-types.cpp.output new file mode 100644 index 0000000000..d65dce693a --- /dev/null +++ b/regression-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-dependent-types.cpp.output @@ -0,0 +1,2 @@ +pure2-bugfix-for-dependent-types.cpp +pure2-bugfix-for-dependent-types.cpp2(66): fatal error C1202: recursive type or function dependency context too complex