Permalink
Browse files

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

  • Loading branch information...
1 parent 221ae65 commit b29147920879c53cc358fe2dc0037a008b346826 @moritz moritz committed Feb 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 S32-exceptions/misc.t
View
@@ -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;

0 comments on commit b291479

Please sign in to comment.