summaryrefslogtreecommitdiff
path: root/test/prism/errors/statement_at_non_statement.txt
blob: 40fe7d862e135cb3edea4be6bb578a6111c77d42 (plain)
1
2
3
4
5
6
7
8
9
foo(alias x y)
    ^~~~~ unexpected an `alias` at a non-statement position
foo(BEGIN { bar })
    ^~~~~ unexpected a `BEGIN` at a non-statement position
foo(END { bar })
    ^~~ unexpected an `END` at a non-statement position
foo(undef x)
    ^~~~~ unexpected an `undef` at a non-statement position