summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/whitequark/masgn_splat.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/fixtures/whitequark/masgn_splat.txt')
-rw-r--r--test/prism/fixtures/whitequark/masgn_splat.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/prism/fixtures/whitequark/masgn_splat.txt b/test/prism/fixtures/whitequark/masgn_splat.txt
new file mode 100644
index 0000000000..a15dab10f2
--- /dev/null
+++ b/test/prism/fixtures/whitequark/masgn_splat.txt
@@ -0,0 +1,19 @@
+* = bar
+
+*, c, d = bar
+
+*b = bar
+
+*b, c = bar
+
+@foo, @@bar = *foo
+
+a, * = bar
+
+a, *, c = bar
+
+a, *b = bar
+
+a, *b, c = bar
+
+a, b = *foo, bar