[libcxx-commits] [libcxx] [libc++][test] Fix copy-paste damage in `ranges.rotate_copy.pass.cpp` (PR #74544)

Casey Carter via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 5 17:26:09 PST 2023


CaseyCarter wrote:

> Note: The fact that this test was passing for you is quite curious. From a quick glance, I don't see a problem with the libc++ product code constraints, so I'm not sure where the behavior difference is.

Try restoring the original `static_assert`s but negating their expected results. The failure diagnostics will probably be illuminating.

https://github.com/llvm/llvm-project/pull/74544


More information about the libcxx-commits mailing list