diff --git a/regression-tests/test-results/clang-12/pure2-expected-is-as.cpp.output b/regression-tests/test-results/clang-12/pure2-expected-is-as.cpp.output index 478f19c48..7fd6fda23 100644 --- a/regression-tests/test-results/clang-12/pure2-expected-is-as.cpp.output +++ b/regression-tests/test-results/clang-12/pure2-expected-is-as.cpp.output @@ -77,20 +77,20 @@ pure2-expected-is-as.cpp2:34:18: error: use of undeclared identifier 'ex1'; did __MATHCALL_VEC (exp,, (_Mdouble_ __x)); ^ In file included from pure2-expected-is-as.cpp:7: -../../../include/cpp2util.h:1600:72: error: invalid application of 'sizeof' to a function type +../../../include/cpp2util.h:1205:72: error: invalid application of 'sizeof' to a function type (std::is_floating_point_v && std::is_floating_point_v && sizeof(From) > sizeof(To)) || ^~~~~~~~~~~~ -../../../include/cpp2util.h:2114:19: note: in instantiation of variable template specialization 'cpp2::is_narrowing_v' requested here +../../../include/cpp2util.h:2128:19: note: in instantiation of variable template specialization 'cpp2::is_narrowing_v' requested here if constexpr (is_narrowing_v) { ^ pure2-expected-is-as.cpp2:39:22: note: in instantiation of function template specialization 'cpp2::as_' requested here auto val1 {cpp2::as_(ex1)}; ^ In file included from pure2-expected-is-as.cpp:7: -../../../include/cpp2util.h:1644:9: error: invalid application of 'sizeof' to a function type +../../../include/cpp2util.h:1249:9: error: invalid application of 'sizeof' to a function type sizeof(CPP2_TYPEOF(x)) > sizeof(C) ^~~~~~~~~~~~~~~~~~~~~~ -../../../include/cpp2util.h:2127:12: note: in instantiation of function template specialization 'cpp2::as' requested here +../../../include/cpp2util.h:2141:12: note: in instantiation of function template specialization 'cpp2::as' requested here return as(CPP2_FORWARD(x)); ^ pure2-expected-is-as.cpp2:39:22: note: in instantiation of function template specialization 'cpp2::as_' requested here