Skip to content

Commit 4952e0a

Browse files
authored
Update test data (#925)
1 parent 1bbcd04 commit 4952e0a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10
1+
100

regression-tests/test-results/apple-clang-14/pure2-type-and-namespace-aliases.cpp.output

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pure2-type-and-namespace-aliases.cpp2:18:29: error: expected '(' for function-st
2020
pure2-type-and-namespace-aliases.cpp2:18:31: error: use of undeclared identifier 'v'
2121
N1::pmr_vec<myclass::str> v {"xyzzy", "plugh"};
2222
^
23-
pure2-type-and-namespace-aliases.cpp2:20:28: error: use of undeclared identifier 'v'
24-
auto const& v2 = std::move(v);
25-
^
23+
pure2-type-and-namespace-aliases.cpp2:20:26: error: use of undeclared identifier 'v'
24+
auto const& v2{std::move(v)};
25+
^
2626
7 errors generated.

regression-tests/test-results/gcc-10/pure2-print.cpp.output

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ In file included from pure2-print.cpp:7:
66
../../../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.
77
pure2-print.cpp2:68:1: note: in expansion of macro ‘CPP2_REQUIRES_’
88
../../../include/cpp2util.h:10005:33: error: expected initializer before ‘static_assert’
9-
pure2-print.cpp2:96:1: note: in expansion of macro ‘CPP2_REQUIRES_’
9+
pure2-print.cpp2:97:1: note: in expansion of macro ‘CPP2_REQUIRES_’
1010
pure2-print.cpp2:9:41: error: ‘constexpr const T outer::object_alias’ is not a static data member of ‘class outer’
1111
pure2-print.cpp2:9:48: error: template definition of non-template ‘constexpr const T outer::object_alias’
1212
pure2-print.cpp2:67:14: error: no declaration matches ‘void outer::mytype::variadic(const auto:91& ...) requires (is_convertible_v<typename std::remove_cv<typename std::remove_reference<decltype(outer::mytype::variadic::x)>::type>::type, int> && ...)’
1313
pure2-print.cpp2:67:29: note: candidate is: ‘template<class ... auto:90> static void outer::mytype::variadic(const auto:90& ...)’
1414
pure2-print.cpp2:10:19: note: ‘class outer::mytype’ defined here
15-
pure2-print.cpp2:95:37: error: no declaration matches ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof ... (Args ...), 0)’
16-
pure2-print.cpp2:95:37: note: no functions named ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof ... (Args ...), 0)’
15+
pure2-print.cpp2:96:37: error: no declaration matches ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof ... (Args ...), 0)’
16+
pure2-print.cpp2:96:37: note: no functions named ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof ... (Args ...), 0)’
1717
pure2-print.cpp2:6:7: note: ‘class outer’ defined here

0 commit comments

Comments
 (0)