Skip to content
Browse files

Test for null operators.

  • Loading branch information...
1 parent 0e6e3de commit 9a2f20d9f0b2999676f9fd8e30059a285a57efbd @jnthn jnthn committed Mar 8, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 S32-exceptions/misc.t
View
1 S32-exceptions/misc.t
@@ -116,6 +116,7 @@ throws_like 'augment class Any { }', X::Syntax::Augment::WithoutMonkeyTyping;
throws_like 'use MONKEY_TYPING; augment role Positional { }', X::Syntax::Augment::Illegal;
throws_like 'use MONKEY_TYPING; enum Weekday <Mon Tue>; augment class Weekday { }', X::Syntax::Augment::Illegal;
throws_like 'sub postbla:sym<foo>() { }', X::Syntax::Extension::Category, category => 'postbla';
+throws_like 'sub infix:sym< >() { }', X::Syntax::Extension::Null;
# RT #83992
throws_like 'my @a = 1, => 2', X::Syntax::InfixInTermPosition, infix => '=>';
throws_like 'sub f(:in(:$in)) { }', X::Signature::NameClash, name => 'in';

0 comments on commit 9a2f20d

Please sign in to comment.
Something went wrong with that request. Please try again.