blob: 03a1d34451e00fa00c9550621f033610a24ba453 [file] [log] [blame] [edit]
// RUN: clang-tidy %s -checks=-*,misc-redundant-expression -- -std=c++20 | count 0
namespace concepts {
// redundant expressions inside concepts make sense, ignore them
template <class I>
concept TestConcept = requires(I i) {
{i - i};
{i && i};
{i ? i : i};
};
} // namespace concepts