summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/whitequark/const_op_asgn.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/fixtures/whitequark/const_op_asgn.txt')
-rw-r--r--test/prism/fixtures/whitequark/const_op_asgn.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/prism/fixtures/whitequark/const_op_asgn.txt b/test/prism/fixtures/whitequark/const_op_asgn.txt
new file mode 100644
index 0000000000..e72e7adee8
--- /dev/null
+++ b/test/prism/fixtures/whitequark/const_op_asgn.txt
@@ -0,0 +1,9 @@
+::A += 1
+
+A += 1
+
+B::A += 1
+
+def x; ::A ||= 1; end
+
+def x; self::A ||= 1; end