about summary refs log tree commit diff
path: root/third_party/git/t/t4018/rust-trait
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t4018/rust-trait')
-rw-r--r--third_party/git/t/t4018/rust-trait5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/git/t/t4018/rust-trait b/third_party/git/t/t4018/rust-trait
new file mode 100644
index 0000000000..ea397f09ed
--- /dev/null
+++ b/third_party/git/t/t4018/rust-trait
@@ -0,0 +1,5 @@
+unsafe trait RIGHT<T> {
+    fn len(&self) -> u32;
+    fn ChangeMe(&self, n: u32) -> T;
+    fn iter<F>(&self, f: F) where F: Fn(T);
+}