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