File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
libcxx/test/std/ranges/range.adaptors/range.concat/iterator Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99// REQUIRES: has-unix-headers, std-at-least-c++26
10- // UNSUPPORTED: no-exceptions
10+ // UNSUPPORTED: libcpp-hardening-mode=none, no-exceptions
1111
1212#include < ranges>
1313
@@ -74,7 +74,10 @@ struct ThrowOnCopyView : std::ranges::view_base {
7474 constexpr ThrowOnCopyView (ThrowOnCopyView&&) = default;
7575 constexpr ThrowOnCopyView (const ThrowOnCopyView&) { throw 42 ; };
7676 constexpr ThrowOnCopyView& operator =(ThrowOnCopyView&&) = default ;
77- constexpr ThrowOnCopyView& operator =(const ThrowOnCopyView&) { throw 42 ; return *this ;};
77+ constexpr ThrowOnCopyView& operator =(const ThrowOnCopyView&) {
78+ throw 42 ;
79+ return *this ;
80+ };
7881 constexpr int * begin () const { return ptr_ + start_; }
7982 constexpr int * end () const { return ptr_ + 8 ; }
8083};
You can’t perform that action at this time.
0 commit comments