summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/keyword_method_names.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/fixtures/keyword_method_names.txt')
-rw-r--r--test/prism/fixtures/keyword_method_names.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/prism/fixtures/keyword_method_names.txt b/test/prism/fixtures/keyword_method_names.txt
new file mode 100644
index 0000000000..9154469441
--- /dev/null
+++ b/test/prism/fixtures/keyword_method_names.txt
@@ -0,0 +1,29 @@
+def def
+end
+
+def self.ensure
+end
+
+private def foo
+ bar do
+ end
+end
+
+def m(a, **nil)
+end
+
+def __ENCODING__.a
+end
+
+%{abc}
+
+%"abc"
+
+def __FILE__.a
+end
+
+def __LINE__.a
+end
+
+def nil::a
+end