Permalink
Browse files

test X::Declaration::Scope::Multi

  • Loading branch information...
1 parent c070484 commit eb6edd649417bfcf945106afee71ef7b0d5df09b @moritz moritz committed Mar 15, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 S32-exceptions/misc.t
@@ -148,6 +148,7 @@ throws_like 'my module A { has $.x }', X::Attribute::Package, package-type => 'm
throws_like 'has sub a() { }', X::Declaration::Scope, scope => 'has', declaration => 'sub';
throws_like 'has package a { }', X::Declaration::Scope, scope => 'has', declaration => 'package';
+throws_like 'our multi a() { }', X::Declaration::Scope::Multi, scope => 'our';
throws_like 'multi sub () { }', X::Anon::Multi, multiness => 'multi';
throws_like 'proto sub () { }', X::Anon::Multi, multiness => 'proto';
throws_like 'class { multi method () { }}', X::Anon::Multi, routine-type => 'method';

0 comments on commit eb6edd6

Please sign in to comment.