// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <algorithm> #include <tuple> #include "testing/gtest/include/gtest/gtest.h" namespace { struct OneType { … }; bool operator<(const OneType& lhs, const OneType& rhs) { … } struct AnotherType { … }; // Verify libc++ hardening terminates instead of UB with invalid clamp args. TEST(ClampTest, Death) { … } } // namespace