Browse files

test X::Undeclared

  • Loading branch information...
1 parent 9b1c972 commit 171ad0a8c8a6da817875388f3858943575b2f8a2 @moritz moritz committed Feb 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 S32-exceptions/misc.t
View
1 S32-exceptions/misc.t
@@ -105,6 +105,7 @@ throws_like 'my $0', X::Syntax::Variable::Numeric;
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;
+throws_like '@a', X::Undeclared, symbol => '@a';
throws_like 'augment class Any { }', X::Syntax::Augment::WithoutMonkeyTyping;
throws_like 'use MONKEY_TYPING; augment role Positional { }', X::Syntax::Augment::Role;

0 comments on commit 171ad0a

Please sign in to comment.