summaryrefslogtreecommitdiff
path: root/test/prism/errors/destroy_call_operator_write_arguments.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/errors/destroy_call_operator_write_arguments.txt')
-rw-r--r--test/prism/errors/destroy_call_operator_write_arguments.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/prism/errors/destroy_call_operator_write_arguments.txt b/test/prism/errors/destroy_call_operator_write_arguments.txt
new file mode 100644
index 0000000000..b6933d61d1
--- /dev/null
+++ b/test/prism/errors/destroy_call_operator_write_arguments.txt
@@ -0,0 +1,11 @@
+t next&&do end&=
+ ^~ unexpected 'do'; expected an expression after the operator
+ ^~~~ unexpected void value expression
+ ^~~~ unexpected void value expression
+ ^~ unexpected '&=', expecting end-of-input
+ ^~ unexpected '&=', ignoring it
+ ^~~~ Invalid next
+''while=
+ ^~~~~ expected a predicate expression for the `while` statement
+ ^ unexpected '='; target cannot be written
+