Skip to content

Commit 5302db0

Browse files
committed
test: regenerate test-results
1 parent 73d4b62 commit 5302db0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

regression-tests/test-results/mixed-bugfix-for-ufcs-non-local.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace ns {
3434

3535
// Variables.
3636

37-
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> bool inline constexpr v0 = false;// Fails on GCC ([GCC109781][]).
37+
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> bool inline constexpr v0 = false;// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
3838

3939
t<CPP2_UFCS_NONLOCAL(f)(o)> inline constexpr v1 = t<true>();// Fails on Clang 12 (lambda in unevaluated context).
4040

@@ -52,11 +52,11 @@ auto g() -> void;
5252

5353
// Aliases.
5454

55-
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> using a = bool;// Fails on GCC ([GCC109781][]).
55+
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> using a = bool;// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
5656

5757
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> auto inline constexpr b = false;// Fails on GCC ([GCC109781][]).
5858

59-
using c = t<CPP2_UFCS_NONLOCAL(f)(o)>;// Fails on Clang 12 (lambda in unevaluated context).
59+
using c = t<CPP2_UFCS_NONLOCAL(f)(o)>;// Fails on Clang 12 (lambda in unevaluated context) and Clang 12 (a lambda expression cannot appear in this context)
6060

6161
auto inline constexpr d = t<CPP2_UFCS_NONLOCAL(f)(o)>();// Fails on Clang 12 (lambda in unevaluated context).
6262

@@ -81,7 +81,7 @@ auto main() -> int;
8181
namespace ns {
8282

8383
#line 21 "mixed-bugfix-for-ufcs-non-local.cpp2"
84-
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> auto g() -> void{}// Fails on GCC ([GCC109781][]).
84+
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> auto g() -> void{}// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
8585

8686
auto g([[maybe_unused]] cpp2::in<t<CPP2_UFCS_NONLOCAL(f)(o)>> unnamed_param_1) -> void{}// Fails on Clang 12 (lambda in unevaluated context).
8787

@@ -93,7 +93,7 @@ auto g() -> void{
9393

9494
#line 40 "mixed-bugfix-for-ufcs-non-local.cpp2"
9595
inline CPP2_CONSTEXPR bool u::b = CPP2_UFCS_NONLOCAL(f)(o);
96-
inline CPP2_CONSTEXPR bool u::c = [](cpp2::in<std::type_identity_t<decltype(CPP2_UFCS_NONLOCAL(f)(o))>> x) -> auto { return x; }(true);
96+
inline CPP2_CONSTEXPR bool u::c = [](cpp2::in<std::type_identity_t<decltype(CPP2_UFCS_NONLOCAL(f)(o))>> x) -> auto { return x; }(true);// Fails on Clang 12 (lambda in unevaluated context).
9797
auto u::g(auto const& s, auto const& sz) -> void{
9898
cpp2::Default.expects(CPP2_UFCS(sz)(s) != 0, ""); }
9999

regression-tests/test-results/pure2-bugfix-for-ufcs-noexcept.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ auto main() -> int;
3333
auto t::swap([[maybe_unused]] t const& that) noexcept -> void{}// Non-`virtual` blocked on #508, idiomatic form on #507.
3434

3535
auto main() -> int{
36-
static_assert(noexcept(CPP2_UFCS(swap)(t(), t())));// Fails on Clang 12 (lambda in unevaluated context).
36+
static_assert(noexcept(CPP2_UFCS(swap)(t(), t())));// Fails on Clang 12 (lambda in unevaluated context) and GCC 10 (static assertion failed)
3737
}
3838

0 commit comments

Comments
 (0)