blob: 39fa7718c81342e289646c69a7ce58dd6894ba28 [file] [log] [blame]
// 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
#ifndef CRUBIT_RS_BINDINGS_FROM_CC_TEST_GOLDEN_METHOD_QUALIFIERS_H_
#define CRUBIT_RS_BINDINGS_FROM_CC_TEST_GOLDEN_METHOD_QUALIFIERS_H_
struct Noninline {
void UnqualifiedMethod();
void LvalueMethod() &;
void LvalueMethodConst() const &;
void RvalueMethod() &&;
void RvalueMethodConst() const &&;
};
struct Inline {
void UnqualifiedMethod() {}
void LvalueMethod() & {}
void LvalueMethodConst() const & {}
void RvalueMethod() && {}
void RvalueMethodConst() const && {}
};
#endif // CRUBIT_RS_BINDINGS_FROM_CC_TEST_GOLDEN_METHOD_QUALIFIERS_H_