blob: 74b150a9084c6588d443d0d370ce7582fd2825dc [file] [log] [blame]
Michael Forster523dbd42021-10-12 11:05:44 +00001// Part of the Crubit project, under the Apache License v2.0 with LLVM
2// Exceptions. See /LICENSE for license information.
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5#ifndef CRUBIT_RS_BINDINGS_FROM_CC_TEST_GOLDEN_UNSUPPORTED_H_
6#define CRUBIT_RS_BINDINGS_FROM_CC_TEST_GOLDEN_UNSUPPORTED_H_
7
Devin Jeanpierree6e16652021-12-22 15:54:46 +00008struct NontrivialCustomType final {
Devin Jeanpierrebf0d5602021-10-13 20:47:39 +00009 NontrivialCustomType(NontrivialCustomType&&);
10
Michael Forster523dbd42021-10-12 11:05:44 +000011 int i;
12};
13
Devin Jeanpierrebf0d5602021-10-13 20:47:39 +000014void UnsupportedParamType(NontrivialCustomType n);
Devin Jeanpierrebf0d5602021-10-13 20:47:39 +000015NontrivialCustomType UnsupportedReturnType();
Michael Forster523dbd42021-10-12 11:05:44 +000016
Devin Jeanpierrebf0d5602021-10-13 20:47:39 +000017NontrivialCustomType MultipleReasons(NontrivialCustomType n, int);
Michael Forster523dbd42021-10-12 11:05:44 +000018
Googlerc8a8e732021-10-19 07:49:24 +000019namespace ns {
20void FunctionInNamespace();
Devin Jeanpierree6e16652021-12-22 15:54:46 +000021struct StructInNamespace final {};
Googlerc8a8e732021-10-19 07:49:24 +000022} // namespace ns
23
Devin Jeanpierree6e16652021-12-22 15:54:46 +000024struct ContainingStruct final {
25 struct NestedStruct final {};
Googler21351fc2021-10-19 08:58:04 +000026};
27
Michael Forster523dbd42021-10-12 11:05:44 +000028#endif // CRUBIT_RS_BINDINGS_FROM_CC_TEST_GOLDEN_UNSUPPORTED_H_