aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/inline/0055_self_param.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/parser/inline/0055_self_param.rs')
-rw-r--r--tests/data/parser/inline/0055_self_param.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0055_self_param.rs b/tests/data/parser/inline/0055_self_param.rs
new file mode 100644
index 000000000..2890c27e2
--- /dev/null
+++ b/tests/data/parser/inline/0055_self_param.rs
@@ -0,0 +1,5 @@
1impl S {
2 fn a(self) {}
3 fn b(&self,) {}
4 fn c(&mut self, x: i32) {}
5}