Skip to content

Commit

Permalink
Test for RT #125210.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Oct 27, 2015
1 parent c49587f commit 5988574
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S03-operators/precedence.t
Expand Up @@ -13,7 +13,7 @@ proper separation of the two levels.
=end pod

plan 63;
plan 64;


# terms
Expand Down Expand Up @@ -256,4 +256,9 @@ throws-like '1, 2 Z 3, 4 X 5, 6',
'"not(0) + 1" is parsed as "(not 0) + 1"';
}

# RT #125210
throws-like 'my $lizmat = 42; ++$lizmat++',
X::Syntax::NonAssociative,
'prefix/postfix ++ are not associative';

# vim: ft=perl6

0 comments on commit 5988574

Please sign in to comment.