Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
X::Syntax::Reserved
  • Loading branch information
moritz committed Feb 24, 2012
1 parent b291479 commit a78af8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -129,6 +129,8 @@ throws_like '=begin', X::Syntax::Pod::BeginWithoutIdentifier;
throws_like '@', X::Syntax::SigilWithoutName;
throws_like '1∞', X::Syntax::Confused;
throws_like 'for 1, 2', X::Syntax::Missing, what => 'block';
throws_like 'my @a()', X::Syntax::Reserved, reserved => /shape/ & /array/;
throws_like 'my &a()', X::Syntax::Reserved, instead => /':()'/;

throws_like 'm:i(@*ARGS[0])/foo/', X::Value::Dynamic;
throws_like 'my enum Foo (:x(@*ARGS[0]))', X::Value::Dynamic;
Expand Down

0 comments on commit a78af8c

Please sign in to comment.