You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// expected-error-re@*:* {{static assertion failed {{.*}}error_type has to be both copy constructible and constructible from decltype(std::move(error()))}}
98
+
// The following diagnostic is emmitted in expected.h:
// expected-error-re@*:* {{static assertion failed {{.*}}error_type has to be both copy constructible and constructible from decltype(std::move(error()))}}
122
+
// The following diagnostic is emmitted in expected.h:
121
123
}
122
124
}
123
125
// These diagnostics happen when we try to construct bad_expected_access from the non copy-constructible error type.
124
126
#if _LIBCPP_HAS_EXCEPTIONS
125
127
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
126
128
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
127
-
// expected-error-re@*:* 1-2{{call to deleted constructor of{{.*}}}}
128
-
// expected-error-re@*:* 0-2{{call to deleted constructor of{{.*}}}}
129
129
#endif
130
+
// These diagnostics can also additionally be produced by static_assert (see GH150601).
131
+
// expected-error-re@*:* 0-2{{call to deleted constructor of{{.*}}}}
132
+
// expected-error-re@*:* 0-2{{call to deleted constructor of{{.*}}}}
0 commit comments