diff --git a/regression-tests/test-results/apple-clang-14/pure2-requires-clauses.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-requires-clauses.cpp.execution index 9a037142a..105d7d9ad 100644 --- a/regression-tests/test-results/apple-clang-14/pure2-requires-clauses.cpp.execution +++ b/regression-tests/test-results/apple-clang-14/pure2-requires-clauses.cpp.execution @@ -1 +1 @@ -10 \ No newline at end of file +100 \ No newline at end of file diff --git a/regression-tests/test-results/apple-clang-14/pure2-type-and-namespace-aliases.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-type-and-namespace-aliases.cpp.output index 9155cf011..c1c255577 100644 --- a/regression-tests/test-results/apple-clang-14/pure2-type-and-namespace-aliases.cpp.output +++ b/regression-tests/test-results/apple-clang-14/pure2-type-and-namespace-aliases.cpp.output @@ -20,7 +20,7 @@ pure2-type-and-namespace-aliases.cpp2:18:29: error: expected '(' for function-st pure2-type-and-namespace-aliases.cpp2:18:31: error: use of undeclared identifier 'v' N1::pmr_vec v {"xyzzy", "plugh"}; ^ -pure2-type-and-namespace-aliases.cpp2:20:28: error: use of undeclared identifier 'v' -auto const& v2 = std::move(v); - ^ +pure2-type-and-namespace-aliases.cpp2:20:26: error: use of undeclared identifier 'v' +auto const& v2{std::move(v)}; + ^ 7 errors generated. diff --git a/regression-tests/test-results/gcc-10/pure2-print.cpp.output b/regression-tests/test-results/gcc-10/pure2-print.cpp.output index 60eba48ef..4fe5cfa8d 100644 --- a/regression-tests/test-results/gcc-10/pure2-print.cpp.output +++ b/regression-tests/test-results/gcc-10/pure2-print.cpp.output @@ -6,12 +6,12 @@ In file included from pure2-print.cpp:7: ../../../include/cpp2util.h:10005:47: error: static assertion failed: GCC 11 or higher is required to support variables and type-scope functions that have a 'requires' clause. This includes a type-scope 'forward' parameter of non-wildcard type, such as 'func: (this, forward s: std::string)', which relies on being able to add a 'requires' clause - in that case, use 'forward s: _' instead if you need the result to compile with GCC 10. pure2-print.cpp2:68:1: note: in expansion of macro ‘CPP2_REQUIRES_’ ../../../include/cpp2util.h:10005:33: error: expected initializer before ‘static_assert’ -pure2-print.cpp2:96:1: note: in expansion of macro ‘CPP2_REQUIRES_’ +pure2-print.cpp2:97:1: note: in expansion of macro ‘CPP2_REQUIRES_’ pure2-print.cpp2:9:41: error: ‘constexpr const T outer::object_alias’ is not a static data member of ‘class outer’ pure2-print.cpp2:9:48: error: template definition of non-template ‘constexpr const T outer::object_alias’ pure2-print.cpp2:67:14: error: no declaration matches ‘void outer::mytype::variadic(const auto:91& ...) requires (is_convertible_v::type>::type, int> && ...)’ pure2-print.cpp2:67:29: note: candidate is: ‘template static void outer::mytype::variadic(const auto:90& ...)’ pure2-print.cpp2:10:19: note: ‘class outer::mytype’ defined here -pure2-print.cpp2:95:37: error: no declaration matches ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof ... (Args ...), 0)’ -pure2-print.cpp2:95:37: note: no functions named ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof ... (Args ...), 0)’ +pure2-print.cpp2:96:37: error: no declaration matches ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof ... (Args ...), 0)’ +pure2-print.cpp2:96:37: note: no functions named ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof ... (Args ...), 0)’ pure2-print.cpp2:6:7: note: ‘class outer’ defined here