summaryrefslogtreecommitdiffstats
path: root/tests/rust/swift_name.toml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rust/swift_name.toml')
-rw-r--r--tests/rust/swift_name.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rust/swift_name.toml b/tests/rust/swift_name.toml
new file mode 100644
index 0000000..b04dc63
--- /dev/null
+++ b/tests/rust/swift_name.toml
@@ -0,0 +1,4 @@
+header = "#define CF_SWIFT_NAME(_name) __attribute__((swift_name(#_name)))"
+
+[fn]
+swift_name_macro = "CF_SWIFT_NAME"