blob: 7671e11ed18a309d32f793c6620ea5e5d58727ac [file]
// Part of the Crubit project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "rs_bindings_from_cc/test/struct/operators/operators.h"
bool OperandForOutOfLineDefinition::operator==(
const OperandForOutOfLineDefinition& other) const {
return (i % 10) == (other.i % 10);
}
bool operator==(const OperandForFreeFunc& lhs, const OperandForFreeFunc& rhs) {
return (lhs.i % 10) == (rhs.i % 10);
}
namespace some_other_namespace {
bool operator==(const OperandForFreeFuncInDifferentNamespace& lhs,
const OperandForFreeFuncInDifferentNamespace& rhs) {
return (lhs.i % 10) == (rhs.i % 10);
}
} // namespace some_other_namespace