Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

test parameter variant of X::Syntax::Variable::Numeric

  • Loading branch information...
commit b29147920879c53cc358fe2dc0037a008b346826 1 parent 221ae65
@moritz moritz authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  S32-exceptions/misc.t
View
1  S32-exceptions/misc.t
@@ -103,6 +103,7 @@ throws_like 'unless 1 { } else { }', X::Syntax::UnlessElse;
throws_like 'for my $x (1, 2, 3) { }', X::Syntax::P5;
throws_like ':!foo(3)', X::Syntax::NegatedPair;
throws_like 'my $0', X::Syntax::Variable::Numeric;
+throws_like 'my sub f($0) { }', X::Syntax::Variable::Numeric, what => 'parameter';
throws_like 'my $<a>', X::Syntax::Variable::Match;
throws_like 'my class A { my $!foo }', X::Syntax::Variable::Twigil, twigil => '!', scope => 'my';
throws_like 'my $::("foo")', X::Syntax::Variable::IndirectDeclaration;
Please sign in to comment.
Something went wrong with that request. Please try again.