Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test X::Declaration::Scope::Multi
  • Loading branch information
moritz committed Mar 15, 2012
1 parent c070484 commit eb6edd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions S32-exceptions/misc.t
Expand Up @@ -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';
Expand Down

0 comments on commit eb6edd6

Please sign in to comment.