summaryrefslogtreecommitdiffstats
path: root/t/t4018/rust-trait
diff options
context:
space:
mode:
Diffstat (limited to 't/t4018/rust-trait')
-rw-r--r--t/t4018/rust-trait5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t4018/rust-trait b/t/t4018/rust-trait
new file mode 100644
index 0000000..ea397f0
--- /dev/null
+++ b/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);
+}