summaryrefslogtreecommitdiffstats
path: root/tests/rust/pin.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/rust/pin.toml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/rust/pin.toml b/tests/rust/pin.toml
new file mode 100644
index 0000000..5aeccf9
--- /dev/null
+++ b/tests/rust/pin.toml
@@ -0,0 +1,21 @@
+header = """
+#if 0
+''' '
+#endif
+
+#ifdef __cplusplus
+template <typename T>
+using Pin = T;
+template <typename T>
+using Box = T*;
+#endif
+
+#if 0
+' '''
+#endif
+"""
+[export]
+exclude = [
+ "Pin",
+ "Box"
+]