diff options
Diffstat (limited to 't/t4018/rust-trait')
-rw-r--r-- | t/t4018/rust-trait | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t4018/rust-trait b/t/t4018/rust-trait new file mode 100644 index 0000000000..ea397f09ed --- /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); +} |